![]() |
Qt 4.8
|
The QXmlStreamNamespaceDeclaration class represents a namespace declaration. More...
#include <qxmlstream.h>
Public Functions | |
| QStringRef | namespaceUri () const |
| Returns the namespaceUri. More... | |
| bool | operator!= (const QXmlStreamNamespaceDeclaration &other) const |
| Compares this namespace declaration with other and returns true if they are not equal; otherwise returns false. More... | |
| QXmlStreamNamespaceDeclaration & | operator= (const QXmlStreamNamespaceDeclaration &) |
| Assigns other to this namespace declaration. More... | |
| bool | operator== (const QXmlStreamNamespaceDeclaration &other) const |
| Compares this namespace declaration with other and returns true if they are equal; otherwise returns false. More... | |
| QStringRef | prefix () const |
| Returns the prefix. More... | |
| QXmlStreamNamespaceDeclaration () | |
| Creates an empty namespace declaration. More... | |
| QXmlStreamNamespaceDeclaration (const QXmlStreamNamespaceDeclaration &) | |
| Creates a copy of other. More... | |
| QXmlStreamNamespaceDeclaration (const QString &prefix, const QString &namespaceUri) | |
| Creates a namespace declaration with prefix and namespaceUri. More... | |
| ~QXmlStreamNamespaceDeclaration () | |
| Destructs this namespace declaration. More... | |
Properties | |
| QXmlStreamStringRef | m_namespaceUri |
| QXmlStreamStringRef | m_prefix |
| void * | reserved |
Friends | |
| class | QXmlStreamReaderPrivate |
Related Functions | |
(Note that these are not member functions.) | |
| QXmlStreamNamespaceDeclarations | |
| Synonym for QVector<QXmlStreamNamespaceDeclaration>. More... | |
The QXmlStreamNamespaceDeclaration class represents a namespace declaration.
An namespace declaration consists of a prefix() and a namespaceUri().
Definition at line 204 of file qxmlstream.h.
| QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration | ( | ) |
Creates an empty namespace declaration.
Definition at line 2643 of file qxmlstream.cpp.
| QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration | ( | const QXmlStreamNamespaceDeclaration & | other | ) |
Creates a copy of other.
Definition at line 2664 of file qxmlstream.cpp.
| QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration | ( | const QString & | prefix, |
| const QString & | namespaceUri | ||
| ) |
Creates a namespace declaration with prefix and namespaceUri.
Definition at line 2655 of file qxmlstream.cpp.
| QXmlStreamNamespaceDeclaration::~QXmlStreamNamespaceDeclaration | ( | ) |
|
inline |
Returns the namespaceUri.
Definition at line 216 of file qxmlstream.h.
Referenced by QXmlStreamReader::addExtraNamespaceDeclaration(), operator==(), QPatternist::XSLTTokenizer::queueNamespaceDeclarations(), QPatternist::NamespaceSupport::setPrefixes(), QPatternist::AccelTreeResourceLoader::streamToReceiver(), and QXmlStreamWriter::writeCurrentToken().
|
inline |
Compares this namespace declaration with other and returns true if they are not equal; otherwise returns false.
Definition at line 220 of file qxmlstream.h.
| QXmlStreamNamespaceDeclaration & QXmlStreamNamespaceDeclaration::operator= | ( | const QXmlStreamNamespaceDeclaration & | other | ) |
Assigns other to this namespace declaration.
Definition at line 2672 of file qxmlstream.cpp.
|
inline |
Compares this namespace declaration with other and returns true if they are equal; otherwise returns false.
Definition at line 217 of file qxmlstream.h.
|
inline |
Returns the prefix.
Definition at line 215 of file qxmlstream.h.
Referenced by QXmlStreamReader::addExtraNamespaceDeclaration(), operator==(), QPatternist::XSLTTokenizer::queueNamespaceDeclarations(), QPatternist::NamespaceSupport::setPrefixes(), QPatternist::AccelTreeResourceLoader::streamToReceiver(), and QXmlStreamWriter::writeCurrentToken().
|
related |
Synonym for QVector<QXmlStreamNamespaceDeclaration>.
|
friend |
Definition at line 208 of file qxmlstream.h.
|
private |
Definition at line 205 of file qxmlstream.h.
Referenced by operator=(), and QXmlStreamReaderPrivate::resolvePublicNamespaces().
|
private |
Definition at line 205 of file qxmlstream.h.
Referenced by operator=(), and QXmlStreamReaderPrivate::resolvePublicNamespaces().
|
private |
Definition at line 206 of file qxmlstream.h.