public static enum PersonNameFormatter.Formality extends Enum<PersonNameFormatter.Formality>
| Enum Constant and Description |
|---|
FORMAL
The more formal version of the name.
|
INFORMAL
The more informal version of the name.
|
| Modifier and Type | Method and Description |
|---|---|
static PersonNameFormatter.Formality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersonNameFormatter.Formality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersonNameFormatter.Formality FORMAL
public static final PersonNameFormatter.Formality INFORMAL
public static PersonNameFormatter.Formality[] values()
for (PersonNameFormatter.Formality c : PersonNameFormatter.Formality.values()) System.out.println(c);
public static PersonNameFormatter.Formality valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016 Unicode, Inc. and others.