|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.velocity.anakia.Escape
This class is for escaping CDATA sections. The code was "borrowed" from the JDOM code. Also included is escaping the " -> " character and the conversion of newlines to the platform line separator.
Field Summary | |
static java.lang.String |
LINE_SEPARATOR
|
Constructor Summary | |
Escape()
Empty constructor |
Method Summary | |
static java.lang.String |
getText(java.lang.String st)
Do the escaping. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String LINE_SEPARATOR
Constructor Detail |
public Escape()
Method Detail |
public static final java.lang.String getText(java.lang.String st)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |