public enum MatchRecogizePatternElementType extends Enum<MatchRecogizePatternElementType>
Enum Constant and Description |
---|
ONE_OPTIONAL
For greedy '?' multiplicity.
|
ONE_OPTIONAL_RELUCTANT
For reluctant '?' multiplicity.
|
ONE_TO_MANY
For greedy '+' multiplicity.
|
ONE_TO_MANY_RELUCTANT
For reluctant '+' multiplicity.
|
SINGLE
For single multiplicity.
|
ZERO_TO_MANY
For greedy '*' multiplicity.
|
ZERO_TO_MANY_RELUCTANT
For reluctant '*' multiplicity.
|
Modifier and Type | Method and Description |
---|---|
String |
getText()
Returns the multiplicity text.
|
static MatchRecogizePatternElementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchRecogizePatternElementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchRecogizePatternElementType SINGLE
public static final MatchRecogizePatternElementType ZERO_TO_MANY
public static final MatchRecogizePatternElementType ONE_TO_MANY
public static final MatchRecogizePatternElementType ONE_OPTIONAL
public static final MatchRecogizePatternElementType ZERO_TO_MANY_RELUCTANT
public static final MatchRecogizePatternElementType ONE_TO_MANY_RELUCTANT
public static final MatchRecogizePatternElementType ONE_OPTIONAL_RELUCTANT
public static MatchRecogizePatternElementType[] values()
for (MatchRecogizePatternElementType c : MatchRecogizePatternElementType.values()) System.out.println(c);
public static MatchRecogizePatternElementType 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 nullpublic String getText()