public static enum FindPrefixRestrictionFeature.PrefixChecker extends java.lang.Enum<FindPrefixRestrictionFeature.PrefixChecker>
Enum Constant and Description |
---|
ANTEC |
ANTEC_POLARITY |
SUCC |
SUCC_POLARITY |
TOP_LEVEL |
Modifier and Type | Field and Description |
---|---|
private Checker |
checker
wrapped checker
|
Modifier and Type | Method and Description |
---|---|
boolean |
check(PosInOccurrence pio) |
static FindPrefixRestrictionFeature.PrefixChecker |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FindPrefixRestrictionFeature.PrefixChecker[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FindPrefixRestrictionFeature.PrefixChecker ANTEC
public static final FindPrefixRestrictionFeature.PrefixChecker SUCC
public static final FindPrefixRestrictionFeature.PrefixChecker ANTEC_POLARITY
public static final FindPrefixRestrictionFeature.PrefixChecker SUCC_POLARITY
public static final FindPrefixRestrictionFeature.PrefixChecker TOP_LEVEL
private final Checker checker
public static FindPrefixRestrictionFeature.PrefixChecker[] values()
for (FindPrefixRestrictionFeature.PrefixChecker c : FindPrefixRestrictionFeature.PrefixChecker.values()) System.out.println(c);
public static FindPrefixRestrictionFeature.PrefixChecker 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 final boolean check(PosInOccurrence pio)