#include <cxxtools/xml/startelement.h>
Public Member Functions | |
| Attribute () | |
| Constructs a new Attribute object with an empty name and value. | |
| Attribute (const String &name, const String &value) | |
| Constructs a new Attribute using the given name and value. | |
| virtual | ~Attribute () |
| Empty destructor. | |
| const String & | name () const |
| Returns the name of this attribute. | |
| String & | name () |
| void | setName (const String name) |
| Sets the name of this attribute. | |
| const String & | value () const |
| Returns the value of this attribute. | |
| String & | value () |
| void | setValue (const String value) |
| Sets the value of this attribute. | |
| void | clear () |
The attributes of a tag are retrieved from the document when the opening tag is parsed. The attributes are stored in a StartElement object from where they can be retrieved.
| name | The name of the XML attribute. | |
| value | The value of the XML attribute. |
| const String& name | ( | ) | const |
| void setName | ( | const String | name | ) |
| name | The new name of this attribute. |
| const String& value | ( | ) | const |
| void setValue | ( | const String | value | ) |
| value | The new value of this attribute. |