Devsphere.com


com.devsphere.examples.xml.taglib
Class DemoUtils

java.lang.Object
  |
  +--com.devsphere.examples.xml.taglib.DemoUtils

public class DemoUtils
extends java.lang.Object

Contains a method that escapes &, <, > and " from an XML text.


Constructor Summary
DemoUtils()
           
 
Method Summary
static java.lang.String escapeXml(java.lang.String text)
          Escapes &, <, > and " from an XML text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemoUtils

public DemoUtils()
Method Detail

escapeXml

public static java.lang.String escapeXml(java.lang.String text)
Escapes &, <, > and " from an XML text.


 Devsphere.com