public static enum TextConstraint.PatternType extends Enum<TextConstraint.PatternType>
| Enum Constant and Description |
|---|
none
Simple checks if the parsed constraint equals the value
|
regex
All kind of REGEX Patterns
|
wildcard
WildCard based queries using * and ?
|
| Modifier and Type | Method and Description |
|---|---|
static TextConstraint.PatternType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextConstraint.PatternType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextConstraint.PatternType none
public static final TextConstraint.PatternType regex
public static final TextConstraint.PatternType wildcard
public static TextConstraint.PatternType[] values()
for (TextConstraint.PatternType c : TextConstraint.PatternType.values()) System.out.println(c);
public static TextConstraint.PatternType 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 © 2010-2014 The Apache Software Foundation. All Rights Reserved.