#include <skTextNode.h>
Inheritance diagram for skTextNode:

Public Member Functions | |
| skTextNode (const skString &text) | |
| Contructs a new text node with the given text. | |
| virtual | ~skTextNode () |
| Virtual destructor. | |
| virtual skString | getNodeValue () const |
| returns the text within the text node | |
| virtual void | setNodeValue (const skString &s) |
| sets the text in this node | |
| virtual NodeType | getNodeType () const |
| this returns the type of this node | |
| virtual skNode * | clone () |
| this method returns a new skTextNode that has the same text value as this one | |
| virtual void | write (skOutputDestination &out) const |
| writes the text in this node to the given destination | |
| virtual skString | toString () const |
| writes the text in this node to a string | |
| virtual 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. |
1.3