Attribute Class Reference

#include <Pt/Xml/StartElement.h>

A single attribute of a start element.

Public Member Functions

 Attribute ()
 Default constructor.
 
const QNamename () const
 Returns the qualified name.
 
void setName (const QName &name, const Namespace &ns)
 Sets the qualified name and namespace.
 
const StringnamespaceUri () const
 Returns the namespaceUri.
 
void setNamespace (const Namespace &ns)
 Sets the namespace.
 
const Stringvalue () const
 Returns the value of this attribute.
 
Stringvalue ()
 Returns the value of this attribute.
 
void clear ()
 Clears the value of this attribute.