XopusDocument

The Xopus specific implementation of a Document node.


XopusDocument object

extends XopusNode

methods

XopusDocument.createAttribute( name : String) : XopusAttribute
XopusDocument.createAttributeNS( namespaceURI : String,  qName : String) : XopusAttribute
XopusDocument.createComment( value : String) : XopusComment
XopusDocument.createDocumentFragment() : XopusDocumentFragment
XopusDocument.createElement( name : String) : XopusElement
XopusDocument.createElementNS( namespaceURI : String,  qName : String) : XopusElement
XopusDocument.createProcessingInstruction( target : String,  value : String) : XopusProcessingInstruction
XopusDocument.createTextNode( value : String) : XopusText
XopusDocument.getDocumentElement() : XopusElement
XopusDocument.getElementsByTagName( name : String) : XopusNodeList
XopusDocument.getElementsByTagNameNS( namespaceURI : String,  localName : String) : XopusNodeList
XopusDocument.getDocumentURI() : String
XopusDocument.getSchemaURI() : String
XopusDocument.importNode( importedNode : Node,  deep : Boolean) : XopusNode
XopusDocument.hasRunningTransactions() : Boolean
XopusDocument.hasUnsavedChanges() : Boolean
XopusDocument.registerNamespacePrefix( prefix : String,  namespaceURI : String)
XopusDocument.save() : Boolean
XopusDocument.setDocumentURI( uri : String)

Methods inherited from XopusNode

XopusNode.addEventListener( type : String,  listener : Function|Object)
XopusNode.addSimpleListener( eventName : String,  listenerFn : Function)
XopusNode.appendChild( childNode : XopusNode) :
XopusNode.canAppendChild( childNode : XopusNode) : Integer
XopusNode.canInsertAfter( childNode : XopusNode,  refNode : XopusNode) : Integer
XopusNode.canInsertBefore( childNode : XopusNode,  refNode : XopusNode) : Integer
XopusNode.canPrependChild( childNode : XopusNode) : Integer
XopusNode.canRemoveChild( childNode : XopusNode) : Integer
XopusNode.canReplaceChild( newChild : XopusNode,  oldChild : XopusNode) : Integer
XopusNode.cloneNode( deep : Boolean) : XopusNode
XopusNode.compareDocumentPosition( other : XopusNode) : Number
XopusNode.makeValid() : XopusNode
XopusNode.getAnnotation() : XMLElement
XopusNode.getChildNodes() : XopusNodeList
XopusNode.getFirstChild() : XopusNode
XopusNode.getLastChild() : XopusNode
XopusNode.getLocalName() : String
XopusNode.getNamespaceURI() : String
XopusNode.getNextSibling() : XopusNode
XopusNode.getNodeName() : String
XopusNode.getNodeType() : Number
XopusNode.getNodeValue() : String
XopusNode.getOwnerDocument() : XopusDocument
XopusNode.getParentNode() : XopusNode
XopusNode.getPrefix() : String
XopusNode.getPrettyName() : String
XopusNode.getPreviousSibling() : XopusNode
XopusNode.getTextContent() : String
XopusNode.getXML() : String
XopusNode.hasChildNodes() : Boolean
XopusNode.highlight()
XopusNode.insertAfter( newChild : XopusNode,  refChild : XopusNode) : XopusNode
XopusNode.insertBefore( newChild : XopusNode,  refChild : XopusNode) : XopusNode
XopusNode.isDefaultNamespace( namespaceURI : String) : Boolean
XopusNode.isValid() : Boolean
XopusNode.lookupNamespaceURI( prefix : String) : String
XopusNode.lookupPrefix( namespaceURI : String) : String
XopusNode.getIndex() : Number
XopusNode.prependChild( childNode : XopusNode) :
XopusNode.removeChild( childNode : XopusNode) : XopusNode
XopusNode.removeEventListener( eventName : String,  listener : Function or Object) : Function or Object
XopusNode.selectNodes( xpath : String) : XopusNodeList
XopusNode.selectSingleNode( xpath : String) : XopusNode
XopusNode.setNodeValue( newVal : String)
XopusNode.setTextContent( s : String)
XopusNode.unhighlight()

Events

XopusBeforeNodeCreated
XopusAfterNodeCreated

Events inherited from XopusNode

XopusAfterAttrInserted
XopusAfterAttrRemoved
XopusAfterChildInserted
XopusAfterChildRemoved
XopusAfterNodeMerged
XopusAfterNodeMoved
XopusAfterNodeSplit
XopusAfterNodeValueModified
XopusAfterSubtreeModified
XopusBeforeAttrInserted
XopusBeforeAttrRemoved
XopusBeforeChildInserted
XopusBeforeChildRemoved
XopusBeforeNodeMerged
XopusBeforeNodeMoved
XopusBeforeNodeSplit
XopusBeforeNodeValueModified
XopusBeforeSubtreeModified
XopusNodeInsertedIntoDocument
XopusBeforePaste
load
XopusNodeRemovedFromDocument