public enum EscapeSpecialCharsMode extends java.lang.Enum<EscapeSpecialCharsMode> implements EnumConverter<EscapeSpecialCharsMode>
Enum Constant and Description |
---|
DO_NOT_ESCAPE |
ESCAPE_BY_BACKSLASH |
Modifier and Type | Method and Description |
---|---|
static EscapeSpecialCharsMode |
from(java.lang.String value) |
java.lang.Object |
to(EscapeSpecialCharsMode v) |
static EscapeSpecialCharsMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EscapeSpecialCharsMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EscapeSpecialCharsMode DO_NOT_ESCAPE
public static final EscapeSpecialCharsMode ESCAPE_BY_BACKSLASH
public static EscapeSpecialCharsMode[] values()
for (EscapeSpecialCharsMode c : EscapeSpecialCharsMode.values()) System.out.println(c);
public static EscapeSpecialCharsMode 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 static EscapeSpecialCharsMode from(java.lang.String value)
public java.lang.Object to(EscapeSpecialCharsMode v)
to
in interface EnumConverter<EscapeSpecialCharsMode>