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