xmlpp::ContentNode Class Reference

Content Node. More...

#include <libxml++/nodes/contentnode.h>

Inheritance diagram for xmlpp::ContentNode:

Inheritance graph
[legend]

List of all members.

Public Member Functions

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


Detailed Description

Content Node.

This will be instantiated by the parser.


Member Function Documentation

Glib::ustring xmlpp::ContentNode::get_content (  )  const

Get the text of this content node.

Returns:
The text. Note that the 5 predefined entities (&, ", <, &qt, ') are always resolved, so this content will show their human-readable equivalents.

bool xmlpp::ContentNode::is_white_space (  )  const

Returns:
Whether this node contains only white space, or is empty.

void xmlpp::ContentNode::set_content ( const Glib::ustring content  ) 

Set the text of this content node.

Parameters:
content The text. This must be unescaped, meaning that the predefined entities will be created for you where necessary. See get_content().


Generated on Fri Apr 16 13:26:12 2010 for libxml++ by  doxygen 1.5.8