QXmlStreamAttribute Class
The QXmlStreamAttribute class represents a single XML attribute. More...
Header: | #include <QXmlStreamAttribute> |
qmake: | QT += core |
Since: | Qt 4.3 |
This class was introduced in Qt 4.3.
Note: All functions in this class are reentrant.
Public Functions
QXmlStreamAttribute(const QXmlStreamAttribute &other) | |
QXmlStreamAttribute(const QString &namespaceUri, const QString &name, const QString &value) | |
QXmlStreamAttribute(const QString &qualifiedName, const QString &value) | |
QXmlStreamAttribute() | |
QXmlStreamAttribute & | operator=(const QXmlStreamAttribute &other) |
~QXmlStreamAttribute() |
Detailed Description
An attribute consists of an optionally empty namespaceUri(), a name(), a value(), and an isDefault() attribute.
The raw XML attribute name is returned as qualifiedName().
Member Function Documentation
QXmlStreamAttribute::QXmlStreamAttribute(const QXmlStreamAttribute &other)
Creates a copy of other.
QXmlStreamAttribute::QXmlStreamAttribute(const QString &namespaceUri, const QString &name, const QString &value)
Constructs an attribute in the namespace described with namespaceUri with name and value value.
QXmlStreamAttribute::QXmlStreamAttribute(const QString &qualifiedName, const QString &value)
Constructs an attribute with qualified name qualifiedName and value value.
QXmlStreamAttribute::QXmlStreamAttribute()
Creates an empty attribute.
QXmlStreamAttribute &QXmlStreamAttribute::operator=(const QXmlStreamAttribute &other)
Assigns other to this attribute.
QXmlStreamAttribute::~QXmlStreamAttribute()
Destructs an attribute.