class DOM_Text : public DOM_CharacterData TheTextinterface represents the textual content (termed character data in XML) of anElementorAttr
| | Constructors and assignment operator
| ||||||||
| | Destructor.
| ||||||||
| | Functions to modify the Text node.
|
Functions that set or change data.
Getter functions.
data and
the substringData method below
Cloning function.
Constructors and assignment operators
Equality and Inequality operators.
Functions introduced in DOM Level 2.
DOM_Text
nodes in the full depth of the sub-tree underneath this DOM_Node,
including attribute nodes, into a "normal" form where only markup (e
null if it is unspecified
null if it is unspecified
Functions to modify the DOM Node.
newChild before the existing child node
refChild
oldChild with newChild
in the list of children, and returns the oldChild node
oldChild from the list
of children, and returns it
newChild to the end of the list of children of
this node
Get functions.
NodeList that contains all children of this node
NamedNodeMap containing the attributes of this node (if it
is an Element) or null otherwise
DOM_Document object associated with this node
Query functions.
Set functions.
TheTextinterface represents the textual content (termed character data in XML) of anElementorAttr. If there is no markup inside an element's content, the text is contained in a single object implementing theTextinterface that is the only child of the element. If there is markup, it is parsed into a list of elements andTextnodes that form the list of children of the element.When a document is first made available via the DOM, there is only one
Textnode for each block of text. Users may create adjacentTextnodes that represent the contents of a given element without any intervening markup, but should be aware that there is no way to represent the separations between these nodes in XML, so they will not (in general) persist between DOM editing sessions. Thenormalize()method onElementmerges any such adjacentTextobjects into a single node for each block of text; this is recommended before employing operations that depend on a particular document structure, such as navigation withXPointers.
DOM_Text(const DOM_Text &other)
DOM_Text that refers to the
same underlying node as the original. See also DOM_Node::clone(),
which will copy the actual Text node, rather than just creating a new
reference to the original node.
DOM_Text& operator = (const DOM_Text &other)
DOM_Text& operator = (const DOM_NullPtr *val)
offset point. And a new
node of the same nodeType, which is inserted as the next sibling of this
node, contains all the content at and after the offset
point. When the offset is equal to the lenght of this node,
the new node has no data.
data.
Text node.
alphabetic index hierarchy of classes
|
Xerces-C XML Parser for C++ Version 1.1 |
|
|
generated by doc++