00001
00002
00003
00004
00005
00006
00007 #ifndef skTEXTNODE_H
00008 #define skTEXTNODE_H
00009
00010 #include "skNode.h"
00011
00015 class CLASSEXPORT skTextNode : public skNode
00016 {
00017 public:
00021 skTextNode(const skString& text);
00026 virtual skString getNodeValue() const;
00031 virtual void setNodeValue(const skString& s);
00036 virtual NodeType getNodeType() const;
00041 virtual skNode * clone();
00046 virtual void write(ostream& out) const;
00047 protected:
00049 skString m_Text;
00050 };
00051 #endif