Package com.ibm.icu.impl.personname
Class PersonNamePattern.NameFieldImpl
java.lang.Object
com.ibm.icu.impl.personname.PersonNamePattern.NameFieldImpl
- All Implemented Interfaces:
PersonNamePattern.Element
- Enclosing class:
PersonNamePattern
private static class PersonNamePattern.NameFieldImpl
extends Object
implements PersonNamePattern.Element
An actual name field in a NamePattern (i.e., the stuff represented in the pattern by text
in braces). This class actually handles fetching the value for the field out of a
PersonName object and applying any modifiers to it.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate PersonName.NameField
private Map
<PersonName.FieldModifier, FieldModifierImpl> -
Constructor Summary
ConstructorsConstructorDescriptionNameFieldImpl
(String fieldNameAndModifiers, PersonNameFormatterImpl formatterImpl) -
Method Summary
Modifier and TypeMethodDescriptionformat
(PersonName name) boolean
boolean
isPopulated
(PersonName name) toString()
-
Field Details
-
fieldID
-
modifiers
-
-
Constructor Details
-
NameFieldImpl
-
-
Method Details
-
toString
-
isLiteral
public boolean isLiteral()- Specified by:
isLiteral
in interfacePersonNamePattern.Element
-
format
- Specified by:
format
in interfacePersonNamePattern.Element
-
isPopulated
- Specified by:
isPopulated
in interfacePersonNamePattern.Element
-