Represents XML Node attributes. More...
#include <libxml++/attribute.h>
Inherits xmlpp::Node.
Public Member Functions | |
Attribute (_xmlNode* node) | |
virtual | ~Attribute () |
Glib::ustring | get_name () const |
Get the name of this attribute. | |
Glib::ustring | get_value () const |
Get the value of this attribute. | |
void | set_value (const Glib::ustring& value) |
Set the value of this attribute. | |
_xmlAttr* | cobj () |
Access the underlying libxml implementation. | |
const _xmlAttr* | cobj () const |
Access the underlying libxml implementation. |
Represents XML Node attributes.
xmlpp::Attribute::Attribute | ( | _xmlNode * | node | ) | [explicit] |
virtual xmlpp::Attribute::~Attribute | ( | ) | [virtual] |
const _xmlAttr* xmlpp::Attribute::cobj | ( | ) | const |
Access the underlying libxml implementation.
Reimplemented from xmlpp::Node.
_xmlAttr* xmlpp::Attribute::cobj | ( | ) |
Access the underlying libxml implementation.
Reimplemented from xmlpp::Node.
Glib::ustring xmlpp::Attribute::get_name | ( | ) | const |
Get the name of this attribute.
See also Node::get_namespace_prefix() and Node::get_namespace_uri()
Reimplemented from xmlpp::Node.
Glib::ustring xmlpp::Attribute::get_value | ( | ) | const |
Get the value of this attribute.
void xmlpp::Attribute::set_value | ( | const Glib::ustring & | value | ) |
Set the value of this attribute.