org.apache.velocity.anakia

Class Escape

public class Escape extends 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 StringgetText(String st)
Do the escaping.

Constructor Detail

Escape

public Escape()
Empty constructor

Method Detail

getText

public static final String getText(String st)
Do the escaping.
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.