public static enum ConstraintObject.MetaChar extends Enum<ConstraintObject.MetaChar>
enumeration lists the meta characters: escape, multiple, single, slash.| Enum Constant and Description |
|---|
METACHAR_ESCAPE |
METACHAR_MULTIPLE |
METACHAR_SINGLE |
METACHAR_SLASH |
| Modifier and Type | Method and Description |
|---|---|
String |
getChar() |
String |
getEscapedChar() |
static ConstraintObject.MetaChar |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintObject.MetaChar[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstraintObject.MetaChar METACHAR_ESCAPE
public static final ConstraintObject.MetaChar METACHAR_MULTIPLE
public static final ConstraintObject.MetaChar METACHAR_SINGLE
public static final ConstraintObject.MetaChar METACHAR_SLASH
public static ConstraintObject.MetaChar[] values()
for (ConstraintObject.MetaChar c : ConstraintObject.MetaChar.values()) System.out.println(c);
public static ConstraintObject.MetaChar 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 getChar()
public String getEscapedChar()