org.apache.velocity.anakia
Class Escape

java.lang.Object
  extended byorg.apache.velocity.anakia.Escape

public class Escape
extends java.lang.Object

This class is for escaping CDATA sections. The code was "borrowed" from the JDOM code. I also added in escaping of the " -> " character.

Version:
$Id: Escape.java,v 1.4.14.1 2004/03/03 23:22:04 geirm Exp $
Author:
Jon S. Stevens

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
 

Constructor Detail

Escape

public Escape()
Empty constructor

Method Detail

getText

public static final java.lang.String getText(java.lang.String st)
Do the escaping.



Copyright ? 2002 Apache Software Foundation. All Rights Reserved.