com.jeceira.xml
Class XmlUtils

java.lang.Object
  extended bycom.jeceira.xml.XmlUtils

public class XmlUtils
extends java.lang.Object

Author:
Valeri Felberg

Constructor Summary
XmlUtils()
           
 
Method Summary
static java.lang.String escapeWhitespaces(java.lang.String value)
          Escapes whitespaces in a string value as defined by the spec (cf. 6.4.4 Escaping of JCR values).
static java.lang.String escapeXmlEntities(java.lang.String value)
          Escapes predefined xml entities in a string value as defined by the spec (cf. 6.4.4 Escaping of JCR values).
static java.lang.String unescapeWhitespaces(java.lang.String value)
          Reverts the effect of the encodeWhitespaces method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlUtils

public XmlUtils()
Method Detail

escapeWhitespaces

public static java.lang.String escapeWhitespaces(java.lang.String value)
Escapes whitespaces in a string value as defined by the spec (cf. 6.4.4 Escaping of JCR values).


escapeXmlEntities

public static java.lang.String escapeXmlEntities(java.lang.String value)
Escapes predefined xml entities in a string value as defined by the spec (cf. 6.4.4 Escaping of JCR values).


unescapeWhitespaces

public static java.lang.String unescapeWhitespaces(java.lang.String value)
Reverts the effect of the encodeWhitespaces method.



Copyright © 2005 Aparzev Software Ltd. All Rights Reserved.