public enum NameType extends Enum<NameType>
GENERIC. The
GENERIC NameType should work reasonably well for non-name words. The other encodings are
specifically tuned to family names, and may not work well at all for general text.| Enum Constant and Description |
|---|
ASHKENAZI
Ashkenazi family names
|
GENERIC
Generic names and words
|
SEPHARDIC
Sephardic family names
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the short version of the name type.
|
static NameType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NameType ASHKENAZI
public static final NameType GENERIC
public static final NameType SEPHARDIC
public static NameType[] values()
for (NameType c : NameType.values()) System.out.println(c);
public static NameType 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 nullpublic String getName()
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.