Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.velocity.anakia
Class Escape

    java.lang.Object
      |
      +--org.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 " -> &quot; 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 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, registerNatives, 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003 Apache Software Foundation. All Rights Reserved.