#include <skTextNode.h>
Inheritance diagram for skTextNode::
Public Methods | |
skTextNode (const skString &text) | |
Contructs a new text node with the given text. More... | |
virtual skString | getNodeValue () const |
returns the text within the text node. More... | |
virtual void | setNodeValue (const skString &s) |
sets the text in this node. More... | |
virtual NodeType | getNodeType () const |
this returns the type of this node. More... | |
virtual skNode * | clone () |
this method returns a new skTextNode that has the same text value as this one. More... | |
virtual void | write (ostream &out) const |
writes the text in this node to the given stream. More... | |
Protected Attributes | |
skString | m_Text |
this member variable holds the text for this node. |
This holds the text within or between two elements in an XML document
|
Contructs a new text node with the given text.
|
|
this method returns a new skTextNode that has the same text value as this one.
Reimplemented from skNode. Reimplemented in skCDataNode. |
|
this returns the type of this node.
Reimplemented from skNode. Reimplemented in skCDataNode. |
|
returns the text within the text node.
Reimplemented from skNode. |
|
sets the text in this node.
Reimplemented from skNode. |
|
writes the text in this node to the given stream.
Reimplemented from skNode. Reimplemented in skCDataNode. |