| Modifier and Type | Class and Description |
|---|---|
static class |
XAD.Builder
XAD.Builder
Build class used to construct and validate an XAD object. |
| Modifier and Type | Method and Description |
|---|---|
String |
getCity()
Retrieve street address city.
|
String |
getCountry()
Retrieve street address country.
|
String |
getFirstLine()
Retrieve street address first line.
|
int |
getPostCode()
Retrieve street address post code.
|
String |
getSecondLine()
Retrieve street address second line.
|
String |
getState()
Retrieve street address state.
|
static XAD |
parse(String parseValue)
Parse
XAD from string. |
String |
toString()
Outputs an
XAD in the following format:
firstLine^secondLine^city^state^postCode^country
Variables that are not set are denoted by an empty string. |
public String getFirstLine()
public String getSecondLine()
public String getCity()
public String getState()
public int getPostCode()
public String getCountry()
public static XAD parse(String parseValue)
XAD from string.parseValue - String to be parsed (not null).XADpublic String toString()
XAD in the following format:
firstLine^secondLine^city^state^postCode^country
Variables that are not set are denoted by an empty string.
Trailing '^' symbols are trimmed. For example:
'firstLine^^city^state^postCode^' becomes 'firstLine^^city^state^postCode'Copyright © 2021. All rights reserved.