public enum NameType extends java.lang.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 | Field and Description |
|---|---|
private java.lang.String |
name |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Gets the short version of the name type.
|
static NameType |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
commons-codec version 1.10-SNAPSHOT - Copyright © 2002-2015 - Apache Software Foundation