Class PTXMLUtil

Object
   |
   +--PTXMLUtil

class PTXMLUtil


Static utility class for XML-related operations.
Defined in PTXMLUtil.js


Field Summary
<static>  <final> Object VERSION
          
 
Constructor Summary
PTXMLUtil ()
            PTXMLUtil static Object constructor
 
Method Summary
<static> String normalizeWhitespace(str)
           Replaces all whitespace characters in input string with the space character ' '.
<static> String stripPreXML(str)
           This method will remove anything before the xml declaration, since the gateway may try and throw script tags before the xml.
<static> String stripProlog(str)
           Removes \r characters from input string and return xml string without a prolog
<static> String stripWhitespace(str)
           Removes white characters from the input string
<static> String unescapeCDATAs(str)
           Unescapes CDATA sections
<static> String unescapeEntities(str)
           Unescapes internal entities in input string.

Field Detail

VERSION

<static> <final> Object VERSION

Constructor Detail

PTXMLUtil

PTXMLUtil()

Method Detail

normalizeWhitespace

<static> String normalizeWhitespace(str)

stripPreXML

<static> String stripPreXML(str)

stripProlog

<static> String stripProlog(str)

stripWhitespace

<static> String stripWhitespace(str)

unescapeCDATAs

<static> String unescapeCDATAs(str)

unescapeEntities

<static> String unescapeEntities(str)


Documentation generated by JSDoc on Tue Sep 21 02:04:06 2010