Escape (Velocity 1.4 API)
Keywords: org.apache.velocity.anakia.Escape class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | 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.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.

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

Copyright © 2002 Apache Software Foundation. All Rights Reserved.