|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.javalite.common.Escape
public final class Escape
| Method Summary | |
|---|---|
static String |
html(String html)
Escapes HTML. |
static void |
html(StringBuilder sb,
String html)
Escapes HTML appending to StringBuilder. |
static String |
json(String json)
Escapes JSON. |
static void |
json(StringBuilder sb,
String json)
Escapes JSON appending to StringBuilder. |
static String |
xml(String xml)
Escapes XML. |
static void |
xml(StringBuilder sb,
String xml)
Escapes XML appending to StringBuilder. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void html(StringBuilder sb,
String html)
sb - StringBuilder to append tohtml - inputpublic static String html(String html)
html - input
public static void json(StringBuilder sb,
String json)
sb - StringBuilder to append tojson - inputpublic static String json(String json)
json - input
public static void xml(StringBuilder sb,
String xml)
sb - StringBuilder to append toxml - inputpublic static String xml(String xml)
xml - input
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||