org.apache.velocity.anakia
Class Escape
java.lang.Object
org.apache.velocity.anakia.Escape
public class Escape
- extends Object
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.
- Version:
- $Id: Escape.java 149337 2005-02-01 01:00:56Z wglass $
- Author:
- Will Glass-Husain, Jon S. Stevens
Constructor Summary |
Escape()
Empty constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LINE_SEPARATOR
public static String LINE_SEPARATOR
Escape
public Escape()
- Empty constructor
getText
public static final String getText(String st)
- Do the escaping.
Copyright © 2002 Apache Software Foundation. All Rights Reserved.