|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Escape>
org.rythmengine.utils.Escape
public enum Escape
Escape
| Enum Constant Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic RawData apply(Object o)
o -
protected RawData apply_(String s)
public static String[] stringValues()
public static Escape valueOfIngoreCase(Object o)
public static Escape valueOfIngoreCase(ITemplate template,
Object o)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||