public enum Escape extends Enum<Escape>
Enum Constant and Description |
---|
CSV
CSV escape scheme
|
HTML
HTML escape scheme
|
JS
javascript escape scheme
|
JSON
JSON escape scheme
|
RAW
Indicate raw escape scheme, i.e.
|
XML
XML escape scheme
|
Modifier and Type | Method and Description |
---|---|
protected RawData |
apply_(String s) |
RawData |
apply(Object o)
Apply this escape scheme to the object's string representation
|
static String[] |
stringValues() |
static Escape |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Escape |
valueOfIngoreCase(ITemplate template,
Object o) |
static Escape |
valueOfIngoreCase(Object o) |
static Escape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Escape RAW
public static final Escape CSV
public static final Escape HTML
public static final Escape JS
public static final Escape JSON
public static final Escape XML
public static Escape[] values()
for (Escape c : Escape.values()) System.out.println(c);
public static Escape 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 RawData apply(Object o)
o
- public static String[] stringValues()
Copyright © 2015. All Rights Reserved.