public interface PersonName
SimplePersonName
Modifier and Type | Interface and Description |
---|---|
static class |
PersonName.FieldModifier
Identifiers for the name field modifiers supported by the PersonName and PersonNameFormatter objects.
|
static class |
PersonName.NameField
Identifiers for the name fields supported by the PersonName object.
|
static class |
PersonName.PreferredOrder
An enum to specify the preferred field order for the name.
|
Modifier and Type | Method and Description |
---|---|
String |
getFieldValue(PersonName.NameField identifier,
Set<PersonName.FieldModifier> modifiers)
Returns one field of the name, possibly in a modified form.
|
Locale |
getNameLocale()
Returns the locale of the name-- that is, the language or country of origin for the person being named.
|
PersonName.PreferredOrder |
getPreferredOrder()
Returns the preferred field order for the name.
|
Locale getNameLocale()
PersonName.PreferredOrder getPreferredOrder()
String getFieldValue(PersonName.NameField identifier, Set<PersonName.FieldModifier> modifiers)
identifier
- The identifier of the requested field.modifiers
- An IN/OUT parameter that specifies modifiers to apply to the basic field value.
An implementing class can choose to handle or ignore any modifiers; it should modify
the passed-in Set so that on exit, it contains only the requested modifiers that it
DIDN'T handle. This parameter may not be null, and must either be mutable or empty.Copyright © 2016 Unicode, Inc. and others.