#include <libxml++/nodes/contentnode.h>
Inherits xmlpp::Node.
Inherited by xmlpp::CdataNode, xmlpp::CommentNode, xmlpp::ProcessingInstructionNode, and xmlpp::TextNode.
Public Member Functions | |
ContentNode (_xmlNode* node) | |
virtual | ~ContentNode () |
Glib::ustring | get_content () const |
Get the text of this content node. | |
void | set_content (const Glib::ustring& content) |
Set the text of this content node. | |
bool | is_white_space () const |
Content Node.
This will be instantiated by the parser.
xmlpp::ContentNode::ContentNode | ( | _xmlNode * | node | ) | [explicit] |
virtual xmlpp::ContentNode::~ContentNode | ( | ) | [virtual] |
Glib::ustring xmlpp::ContentNode::get_content | ( | ) | const |
Get the text of this content node.
bool xmlpp::ContentNode::is_white_space | ( | ) | const |
void xmlpp::ContentNode::set_content | ( | const Glib::ustring & | content | ) |
Set the text of this content node.
content | The text. This must be unescaped, meaning that the predefined entities will be created for you where necessary. See get_content(). |