XMLDocumentType
classin packageklyn.io.xml.dom
public class XMLDocumentType extends XMLNode implements DocumentType
└ XMLNode
└ XMLDocumentType
All Implemented Interfaces: DocumentType

DOM document type declaration.

Example
import klyn.io.xml.dom

doctype = XMLDocumentType("root", "", "")
Inherited Attributes
attributeInherited Attributes 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 entities
entities as NamedNodeMap
No summary.
public readonly property internalSubset
internalSubset as String
No summary.
public readonly property name
name as String
No summary.
public readonly property notations
notations as NamedNodeMap
No summary.
public readonly property publicId
publicId as String
No summary.
public readonly property systemId
systemId as String
No summary.
Inherited Properties
propertyInherited Properties from XMLNode: attributes, baseURI, childNodes, firstChild, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, ownerDocument, parentNode, prefix, previousSibling, textContent
propertyInherited Properties from Object: type
Constructors
Modifier and Type Member Description
public XMLDocumentType
XMLDocumentType(name as String, publicId as String = "", systemId as String = "", internalSubset as String = "")
Creates a document type declaration.
Inherited Methods
methodInherited Methods from XMLNode: _collectElementsByTagName, _collectElementsByTagNameNS, _setNamespace, _setOwnerDocument, _setOwnerDocumentRecursive, _setParentNode, appendChild, cloneNode, compareDocumentPosition, getAttribute, getFeature, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setUserData
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toMap, toString, toXml