#include <skTextNode.h>
Inheritance diagram for skTextNode:
Public Member Functions | |
IMPORT_C | skTextNode (const skString &text) |
Contructs a new text node with the given text. | |
virtual IMPORT_C | ~skTextNode () |
Virtual destructor. | |
virtual IMPORT_C skString | getNodeValue () const |
returns the text within the text node | |
virtual IMPORT_C void | setNodeValue (const skString &s) |
sets the text in this node | |
virtual IMPORT_C NodeType | getNodeType () const |
this returns the type of this node | |
virtual IMPORT_C skNode * | clone () |
this method returns a new skTextNode that has the same text value as this one | |
virtual IMPORT_C void | write (skOutputDestination &out) const |
writes the text in this node to the given destination | |
virtual IMPORT_C skString | toString () const |
writes the text in this node to a string | |
virtual IMPORT_C bool | equals (const skNode &other) const |
Does a deep comparison against another node. | |
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
Implements skNode. Reimplemented in skCDataNode. |
|
this returns the type of this node
Implements 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 a string
Implements skNode. |
|
writes the text in this node to the given destination
Implements skNode. Reimplemented in skCDataNode. |