#include <cxxtools/xml/namespace.h>
Public Member Functions | |
| Namespace (const String &namespaceURI, const String &prefix) | |
| Constructs a new Namespace object with the given namespace URI and prefix. | |
| ~Namespace () | |
| Empty destructor. | |
| const String & | prefix () const |
| Returns the prefix of this namespace. | |
| void | setPrefix (const String &prefix) |
| Sets the prefix of this namespace. | |
| const String & | namespaceUri () const |
| Returns the URI of this namespace. | |
| void | setNamespaceUri (const String &namespaceUri) |
| Sets the URI of this namespace. | |
| bool | isDefaultNamespaceDeclaration () |
| Returns $true$ if this is the default namespace in the current XML document. Otherwise $false$ is returned. | |
Use namespaceUri() to get the namespace URI. Use prefix() to get the prefix.
| namespaceURI | The unique URI of this namespace. | |
| prefix | The namespace prefix which can be added to a tag name to specify that this tag belongs to that namespace. |
| const String& prefix | ( | ) | const |
The namespace prefix can be added to a tag name to specify that this tag belongs to that namespace.
| void setPrefix | ( | const String & | prefix | ) |
The namespace prefix can be added to a tag name to specify that this tag belongs to that namespace.
| prefix | The namespace prefix for this Namespace object. |
| const String& namespaceUri | ( | ) | const |
| void setNamespaceUri | ( | const String & | namespaceUri | ) |
The URI is unique and identifies the namespace.
| namespaceUri | The namespace URI for this Namespace object. |
| bool isDefaultNamespaceDeclaration | ( | ) |