Community Map Builder 27 Apr 2008

Class Sarissa

Object
   |
   +--Sarissa

class Sarissa

Defined in Sarissa.js


Field Summary
<static>  Object PARSED_EMPTY
          
<static>  Object PARSED_OK
          
<static>  Object PARSED_UNKNOWN_ERROR
          
 
Constructor Summary
Sarissa ()
           

Sarissa is a utility class.

 
Method Summary
<static> void clearChildNodes(oNode)
          

Deletes all child nodes of the given node

<static> void copyChildNodes(nodeFrom, nodeTo, bPreserveExisting)
          

Copies the childNodes of nodeFrom to nodeTo

Note: The second object's original content is deleted before the copy operation, unless you supply a true third parameter

<static> Object escape(sXml)
           Escape the given string chacters that correspond to the five predefined XML entities
<static> Object getDomDocument(sUri, sName)
          

Factory method to obtain a new DOM Document object

<static> Object getParseErrorText(oDoc)
          

Returns a human readable description of the parsing error.

<static> Object getText(oNode, deep)
          
<static> void moveChildNodes(nodeFrom, nodeTo, bPreserveExisting)
          

Moves the childNodes of nodeFrom to nodeTo

Note: The second object's original content is deleted before the move operation, unless you supply a true third parameter

<static> void setXpathNamespaces(oDoc, sNsSet)
          
<static> Object stripTags(s)
           strips tags from a markup string
<static> Object xmlize(anyObject, objectName, indentSpace)
          

Serialize any object to an XML string.

Field Detail

PARSED_EMPTY

<static> Object PARSED_EMPTY

PARSED_OK

<static> Object PARSED_OK

PARSED_UNKNOWN_ERROR

<static> Object PARSED_UNKNOWN_ERROR

Constructor Detail

Sarissa

Sarissa()

Method Detail

clearChildNodes

<static> void clearChildNodes(oNode)

copyChildNodes

<static> void copyChildNodes(nodeFrom, nodeTo, bPreserveExisting)

escape

<static> Object escape(sXml)

getDomDocument

<static> Object getDomDocument(sUri, sName)

getParseErrorText

<static> Object getParseErrorText(oDoc)

getText

<static> Object getText(oNode, deep)

moveChildNodes

<static> void moveChildNodes(nodeFrom, nodeTo, bPreserveExisting)

setXpathNamespaces

<static> void setXpathNamespaces(oDoc, sNsSet)

stripTags

<static> Object stripTags(s)

xmlize

<static> Object xmlize(anyObject, objectName, indentSpace)

Community Map Builder 27 Apr 2008

Documentation generated by JSDoc on Sun Apr 27 20:30:54 2008