org.apache.velocity.anakia

Class 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 2001/03/20 00:47:44 jon Exp $

Author:
Jon S. Stevens

Constructor Summary

Escape()
Empty constructor

Method Summary

static String
getText(String st)
Do the escaping.

Constructor Details

Escape

public Escape()
Empty constructor

Method Details

getText

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


Copyright © 2003 Apache Software Foundation. All Rights Reserved.