XMLNode
class in package klyn.io.xml.dom

    public abstract class XMLNode extends Object implements Node:

Object
└ XMLNode
All Implemented Interfaces: Node

Base mutable DOM node used by the Klyn XML implementation.

    import klyn.io.xml.dom

    document = XMLDocument()
    node = document.createElement("root")

Attributes inherited from Node: ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | attributes `attributes as NamedNodeMap:` | No summary.
public readonly property | baseURI `baseURI as String:` | No summary.
public readonly property | childNodes `childNodes as NodeList:` | No summary.
public readonly property | firstChild `firstChild as Node:` | No summary.
public readonly property | lastChild `lastChild as Node:` | No summary.
public readonly property | localName `localName as String:` | No summary.
public readonly property | namespaceURI `namespaceURI as String:` | No summary.
public readonly property | nextSibling `nextSibling as Node:` | No summary.
public readonly property | nodeName `nodeName as String:` | No summary.
public readonly property | nodeType `nodeType as Int:` | No summary.
public property | nodeValue `nodeValue as String:` | No summary.
public readonly property | ownerDocument `ownerDocument as Document:` | No summary.
public readonly property | parentNode `parentNode as Node:` | No summary.
public property | prefix `prefix as String:` | No summary.
public readonly property | previousSibling `previousSibling as Node:` | No summary.
public property | textContent `textContent as String:` | No summary.

Properties inherited from Object: type
Properties inherited from Node: attributes, baseURI, childNodes, firstChild, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, ownerDocument, parentNode, prefix, previousSibling, textContent
Methods

Modifier and Type | Member | Description
--- | --- | ---
public | _collectElementsByTagName `_collectElementsByTagName(tagName as String, result as XMLNodeList) as Void:` | No summary.
public | _collectElementsByTagNameNS `_collectElementsByTagNameNS(namespaceURI as String, localName as String, result as XMLNodeList) as Void:` | No summary.
public | _setNamespace `_setNamespace(namespaceURI as String, qualifiedName as String) as Void:` | No summary.
public | _setOwnerDocument `_setOwnerDocument(document as Document) as Void:` | No summary.
public | _setOwnerDocumentRecursive `_setOwnerDocumentRecursive(document as Document) as Void:` | No summary.
public | _setParentNode `_setParentNode(parent as Node) as Void:` | No summary.
public | appendChild `appendChild(newChild as Node) as Node throws DOMException:` | Performs a DOM operation.
public | cloneNode `cloneNode(deep as Boolean) as Node:` | No summary.
public | compareDocumentPosition `compareDocumentPosition(other as Node) as Int throws DOMException:` | Performs a DOM operation.
public | getAttribute `getAttribute(name as String) as String:` | No summary.
public | getFeature `getFeature(feature as String, version as String) as Object:` | No summary.
public | getUserData `getUserData(key as String) as Object:` | No summary.
public | hasAttributes `hasAttributes() as Boolean:` | No summary.
public | hasChildNodes `hasChildNodes() as Boolean:` | No summary.
public | insertBefore `insertBefore(newChild as Node, refChild as Node) as Node throws DOMException:` | Performs a DOM operation.
public | isDefaultNamespace `isDefaultNamespace(namespaceURI as String) as Boolean:` | No summary.
public | isEqualNode `isEqualNode(arg as Node) as Boolean:` | No summary.
public | isSameNode `isSameNode(other as Node) as Boolean:` | No summary.
public | isSupported `isSupported(feature as String, version as String) as Boolean:` | No summary.
public | lookupNamespaceURI `lookupNamespaceURI(prefix as String) as String:` | No summary.
public | lookupPrefix `lookupPrefix(namespaceURI as String) as String:` | No summary.
public | normalize `normalize() as Void:` | No summary.
public | removeChild `removeChild(oldChild as Node) as Node throws DOMException:` | Performs a DOM operation.
public | replaceChild `replaceChild(newChild as Node, oldChild as Node) as Node throws DOMException:` | Performs a DOM operation.
public | setUserData `setUserData(key as String, data as Object, handler as UserDataHandler) as Object:` | No summary.

Methods inherited from Object: fromJson, toDict, toJson, toString, toXml
Methods inherited from Node: appendChild, cloneNode, compareDocumentPosition, getAttribute, getFeature, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setUserData