public static enum ConstraintObject.MetaChar extends java.lang.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 |
|---|---|
java.lang.String |
getChar() |
java.lang.String |
getEscapedChar() |
static ConstraintObject.MetaChar |
valueOf(java.lang.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(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 java.lang.String getChar()
public java.lang.String getEscapedChar()