com.dotmarketing.util
Class XMLUtils

java.lang.Object
  extended by com.dotmarketing.util.XMLUtils

public class XMLUtils
extends java.lang.Object


Constructor Summary
XMLUtils()
           
 
Method Summary
static java.lang.String xmlEscape(java.lang.String str)
          This will take the three pre-defined entities in XML 1.0 (used specifically in XML elements) and convert their character representation to the appropriate entity reference, suitable for XML element content.
 
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

xmlEscape

public static java.lang.String xmlEscape(java.lang.String str)
This will take the three pre-defined entities in XML 1.0 (used specifically in XML elements) and convert their character representation to the appropriate entity reference, suitable for XML element content.

Parameters:
str - String input to escape.
Returns:
String with escaped content.


Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.