public enum QuoteMode extends Enum<QuoteMode>
| Enum Constant and Description |
|---|
ALL
Escape single and double quotes to a named entity.
|
DOUBLE_QUOTES_ONLY
Escape double quotes only.
|
NUMERIC_SINGLE_QUOTES
Escape double quotes to a named entity, and single quotes to a numeric entity.
|
UNESCAPED
Do not escape single or double quotes.
|
| Modifier and Type | Method and Description |
|---|---|
static QuoteMode |
fromValue(int value) |
int |
toValue() |
static QuoteMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuoteMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuoteMode UNESCAPED
public static final QuoteMode ALL
public static final QuoteMode NUMERIC_SINGLE_QUOTES
public static final QuoteMode DOUBLE_QUOTES_ONLY
public static QuoteMode[] values()
for (QuoteMode c : QuoteMode.values()) System.out.println(c);
public static QuoteMode 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 static QuoteMode fromValue(int value)
public int toValue()
Copyright © 2021. All rights reserved.