| Modifier and Type | Class and Description |
|---|---|
static class |
XPN.Builder
XPN.Builder
Build class used to construct and validate an XPN object. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFamilyName()
Retrieve family name.
|
String |
getGivenName()
Retrieve given name.
|
String |
getMiddleInitialOrName()
Retrieve middle initial or name.
|
String |
getPrefix()
Retrieve prefix.
|
String |
getSuffix()
Retrieve suffix.
|
static XPN |
parse(String value)
Parse
XPN from string. |
String |
toString()
Outputs an
XPN in the following format:
familyName^givenName^middleInitialOrName^suffix^prefix
Variables that are not set are denoted by an empty string. |
public String getFamilyName()
public String getGivenName()
public String getMiddleInitialOrName()
public String getSuffix()
public String getPrefix()
public String toString()
XPN in the following format:
familyName^givenName^middleInitialOrName^suffix^prefix
Variables that are not set are denoted by an empty string.
Trailing '^' symbols are trimmed. For example:
'familyName^^^^' becomes 'familyName'Copyright © 2021. All rights reserved.