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.anakia
Class Escape

    java.lang.Object
      org.apache.anakia.Escape

public class Escape
extends Object

This class is for escaping CDATA sections. The code was "borrowed" from the JDOM code. Also included is escaping the " -> &quot; character and the conversion of newlines to the platform line separator.

Version:
  $Id: Escape.java 524478 2007-03-31 20:51:49Z wglass $
Author:
  Will Glass-Husain, Jon S. Stevens

Field Summary
`static String` | `LINE_SEPARATOR`

Constructor Summary
`Escape()` Empty constructor

Method Summary
`static String` | `getText(String st)` Do the escaping.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### LINE_SEPARATOR

    public static final String LINE_SEPARATOR

Constructor Detail

### Escape

    public Escape()

  Empty constructor

Method Detail

### getText

    public static final String getText(String st)

  Do the escaping.

  Parameters:
    `st` -
  Returns:
    The escaped text.

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

Copyright © 2000-${build.year} Apache Software Foundation. All Rights Reserved.