public enum CharactersAllowedType extends Enum<CharactersAllowedType>
Enum Constant and Description |
---|
ALL
Recognize all characters.
|
DIGITS
Recognize only if character is hexadecimal digit.
|
LATIN_ALPHABET
Recognize only if character is an latin alphabetic letter.
|
Modifier and Type | Method and Description |
---|---|
static CharactersAllowedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CharactersAllowedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CharactersAllowedType ALL
public static final CharactersAllowedType LATIN_ALPHABET
public static final CharactersAllowedType DIGITS
public static CharactersAllowedType[] values()
for (CharactersAllowedType c : CharactersAllowedType.values()) System.out.println(c);
public static CharactersAllowedType 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 null