XopusDocument
The Xopus specific implementation of a Document node.
- Documentation
- › API
- › DOM API
- › XopusDocument
XopusDocument object
extends XopusNode
methods
XopusDocument.createAttribute( name: String): XopusAttributeXopusDocument.createAttributeNS( namespaceURI: String, qName: String): XopusAttributeXopusDocument.createComment( value: String): XopusCommentXopusDocument.createDocumentFragment(): XopusDocumentFragmentXopusDocument.createElement( name: String): XopusElementXopusDocument.createElementNS( namespaceURI: String, qName: String): XopusElementXopusDocument.createProcessingInstruction( target: String, value: String): XopusProcessingInstructionXopusDocument.createTextNode( value: String): XopusTextXopusDocument.getDocumentElement(): XopusElementXopusDocument.getElementsByTagName( name: String): XopusNodeListXopusDocument.getElementsByTagNameNS( namespaceURI: String, localName: String): XopusNodeListXopusDocument.getDocumentURI(): StringXopusDocument.getSchemaURI(): StringXopusDocument.importNode( importedNode: Node, deep: Boolean): XopusNodeXopusDocument.hasRunningTransactions(): BooleanXopusDocument.hasUnsavedChanges(): BooleanXopusDocument.registerNamespacePrefix( prefix: String, namespaceURI: String)XopusDocument.save(): BooleanXopusDocument.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): IntegerXopusNode.canInsertAfter( childNode: XopusNode, refNode: XopusNode): IntegerXopusNode.canInsertBefore( childNode: XopusNode, refNode: XopusNode): IntegerXopusNode.canPrependChild( childNode: XopusNode): IntegerXopusNode.canRemoveChild( childNode: XopusNode): IntegerXopusNode.canReplaceChild( newChild: XopusNode, oldChild: XopusNode): IntegerXopusNode.cloneNode( deep: Boolean): XopusNodeXopusNode.compareDocumentPosition( other: XopusNode): NumberXopusNode.makeValid(): XopusNodeXopusNode.getAnnotation(): XMLElementXopusNode.getChildNodes(): XopusNodeListXopusNode.getFirstChild(): XopusNodeXopusNode.getLastChild(): XopusNodeXopusNode.getLocalName(): StringXopusNode.getNamespaceURI(): StringXopusNode.getNextSibling(): XopusNodeXopusNode.getNodeName(): StringXopusNode.getNodeType(): NumberXopusNode.getNodeValue(): StringXopusNode.getOwnerDocument(): XopusDocumentXopusNode.getParentNode(): XopusNodeXopusNode.getPrefix(): StringXopusNode.getPrettyName(): StringXopusNode.getPreviousSibling(): XopusNodeXopusNode.getTextContent(): StringXopusNode.getXML(): StringXopusNode.hasChildNodes(): BooleanXopusNode.highlight()XopusNode.insertAfter( newChild: XopusNode, refChild: XopusNode): XopusNodeXopusNode.insertBefore( newChild: XopusNode, refChild: XopusNode): XopusNodeXopusNode.isDefaultNamespace( namespaceURI: String): BooleanXopusNode.isValid(): BooleanXopusNode.lookupNamespaceURI( prefix: String): StringXopusNode.lookupPrefix( namespaceURI: String): StringXopusNode.getIndex(): NumberXopusNode.prependChild( childNode: XopusNode):XopusNode.removeChild( childNode: XopusNode): XopusNodeXopusNode.removeEventListener( eventName: String, listener: Function or Object): Function or ObjectXopusNode.selectNodes( xpath: String): XopusNodeListXopusNode.selectSingleNode( xpath: String): XopusNodeXopusNode.setNodeValue( newVal: String)XopusNode.setTextContent( s: String)XopusNode.unhighlight()
Events
- XopusBeforeNodeCreated
- XopusAfterNodeCreated
- XopusAfterAttrInserted
- XopusAfterAttrRemoved
- XopusAfterChildInserted
- XopusAfterChildRemoved
- XopusAfterNodeMerged
- XopusAfterNodeMoved
- XopusAfterNodeSplit
- XopusAfterNodeValueModified
- XopusAfterSubtreeModified
- XopusBeforeAttrInserted
- XopusBeforeAttrRemoved
- XopusBeforeChildInserted
- XopusBeforeChildRemoved
- XopusBeforeNodeMerged
- XopusBeforeNodeMoved
- XopusBeforeNodeSplit
- XopusBeforeNodeValueModified
- XopusBeforeSubtreeModified
- XopusNodeInsertedIntoDocument
- XopusBeforePaste
- load
- XopusNodeRemovedFromDocument