XmlCDATA class

XML CDATA node.

Inheritance

Constructors

XmlCDATA(String text)
Create a CDATA section with text.

Properties

nodeType XmlNodeType
Return the node type of this node.
read-only, override
ancestors Iterable<XmlNode>
Return a lazy Iterable of the ancestors of this node (parent, grandparent, ...) in reverse document order.
read-only, inherited
attributes List<XmlAttribute>
Return the attribute nodes of this node in document order.
read-only, inherited
children List<XmlNode>
Return the direct children of this node in document order.
read-only, inherited
depth int
Return the depth of this node in its tree, a root node has depth 0.
read-only, inherited
descendants Iterable<XmlNode>
Return a lazy Iterable of the descendants of this node (children, grandchildren, ...) in document order.
read-only, inherited
document XmlDocument
Return the document that contains this node, or null if the node is not library a document.
read-only, inherited
firstChild XmlNode
Return the first child of this node, or null if there are no children.
read-only, inherited
following Iterable<XmlNode>
Return a lazy Iterable of the nodes following the closing tag of this node in document order.
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
hasParent bool
Test whether the node has a parent or not.
read-only, inherited
lastChild XmlNode
Return the last child of this node, or null if there are no children.
read-only, inherited
nextSibling XmlNode
Return the next sibling of this node or null.
read-only, inherited
parent XmlNode
Return the parent node of this node, or null if there is none.
read-only, inherited
preceding Iterable<XmlNode>
Return a lazy Iterable of the nodes preceding the opening tag of this node in document order.
read-only, inherited
previousSibling XmlNode
Return the previous sibling of this node or null.
read-only, inherited
root XmlNode
Return the root of the tree in which this node is found, whether that's a document or another element.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text String
Return the textual value of this node.
read / write, inherited

Methods

accept(XmlVisitor visitor) → dynamic
Dispatch the invocation depending on this type to the visitor.
override
attachParent(XmlNode parent) → void
Internal method to attach a child to this parent, do not call directly.
inherited
copy() XmlNode
Return a copy of this node and its subtree.
inherited
detachParent(XmlNode parent) → void
Internal method to attach a child to this parent, do not call directly.
inherited
normalize() → void
Puts all child nodes into a "normalized" form, that is no text nodes in the sub-tree are empty and there are no adjacent text nodes.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Return a default XML string of this object.
inherited
toXmlString({bool pretty: false, String indent: ' '}) String
Return an XML string of this object. [...]
inherited
writePrettyTo(StringBuffer buffer, int level, String indent) → void
Write this object in a 'pretty' format to a buffer.
inherited
writeTo(StringBuffer buffer) → void
Write this object to a buffer.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited