public static enum SpoofChecker.RestrictionLevel extends Enum<SpoofChecker.RestrictionLevel>
Enum Constant and Description |
---|
ASCII
Only ASCII characters: U+0000..U+007F
|
HIGHLY_RESTRICTIVE
All characters in each identifier must be from a single script, or from the combinations: Latin + Han +
Hiragana + Katakana; Latin + Han + Bopomofo; or Latin + Han + Hangul.
|
MINIMALLY_RESTRICTIVE
Allow arbitrary mixtures of scripts, such as Ωmega, Teχ, HλLF-LIFE, Toys-Я-Us.
|
MODERATELY_RESTRICTIVE
Allow Latin with other scripts except Cyrillic, Greek, Cherokee Otherwise, the same as Highly Restrictive
|
SINGLE_SCRIPT_RESTRICTIVE
All characters in each identifier must be from a single script.
|
UNRESTRICTIVE
Any valid identifiers, including characters outside of the Identifier Profile, such as I♥NY.org
|
Modifier and Type | Method and Description |
---|---|
static SpoofChecker.RestrictionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpoofChecker.RestrictionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpoofChecker.RestrictionLevel ASCII
public static final SpoofChecker.RestrictionLevel SINGLE_SCRIPT_RESTRICTIVE
public static final SpoofChecker.RestrictionLevel HIGHLY_RESTRICTIVE
public static final SpoofChecker.RestrictionLevel MODERATELY_RESTRICTIVE
public static final SpoofChecker.RestrictionLevel MINIMALLY_RESTRICTIVE
public static final SpoofChecker.RestrictionLevel UNRESTRICTIVE
public static SpoofChecker.RestrictionLevel[] values()
for (SpoofChecker.RestrictionLevel c : SpoofChecker.RestrictionLevel.values()) System.out.println(c);
public static SpoofChecker.RestrictionLevel 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 (c) 2014 IBM Corporation and others.