Attribute Class Reference

#include <Pt/Xml/StartElement.h>

A single attribute of a start element.

Public Member Functions

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