|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<NameType> org.apache.commons.codec.language.bm.NameType
public enum NameType
Supported types of names. Unless you are matching particular family names, use 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 Summary | |
---|---|
ASHKENAZI
Ashkenazi family names |
|
GENERIC
Generic names and words |
|
SEPHARDIC
Sephardic family names |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final NameType ASHKENAZI
public static final NameType GENERIC
public static final NameType SEPHARDIC
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |