#include <xmltooling/QName.h>
Public Member Functions | |
| QName (const XMLCh *uri=0, const XMLCh *localPart=0, const XMLCh *prefix=0) | |
| Constructor. | |
| QName (const char *uri, const char *localPart, const char *prefix=0) | |
| Constructor. | |
| bool | hasPrefix () const |
| Indicates whether the QName has a prefix. | |
| bool | hasNamespaceURI () const |
| Indicates whether the QName has a non-empty namespace. | |
| bool | hasLocalPart () const |
| Indicates whether the QName has a non-empty local name. | |
| const XMLCh * | getPrefix () const |
| Returns the namespace prefix. | |
| const XMLCh * | getNamespaceURI () const |
| Returns the namespace URI. | |
| const XMLCh * | getLocalPart () const |
| Returns the local part of the name. | |
| void | setPrefix (const XMLCh *prefix) |
| Sets the namespace prefix. | |
| void | setNamespaceURI (const XMLCh *uri) |
| Sets the namespace URI. | |
| void | setLocalPart (const XMLCh *localPart) |
| Sets the local part of the name. | |
| void | setPrefix (const char *prefix) |
| Sets the namespace prefix. | |
| void | setNamespaceURI (const char *uri) |
| Sets the namespace URI. | |
| void | setLocalPart (const char *localPart) |
| Sets the local part of the name. | |
| std::string | toString () const |
| Gets a string representation of the QName for logging, etc. | |
The Xerces class is too limited to use at the moment.
|
||||||||||||||||
|
Constructor.
|
|
||||||||||||||||
|
Constructor.
|
|
|
Returns the local part of the name.
|
|
|
Returns the namespace URI.
|
|
|
Returns the namespace prefix.
|
|
|
Indicates whether the QName has a non-empty local name.
|
|
|
Indicates whether the QName has a non-empty namespace.
|
|
|
Indicates whether the QName has a prefix.
|
|
|
Sets the local part of the name.
|
|
|
Sets the local part of the name.
|
|
|
Sets the namespace URI.
|
|
|
Sets the namespace URI.
|
|
|
Sets the namespace prefix.
|
|
|
Sets the namespace prefix.
|
|
|
Gets a string representation of the QName for logging, etc. Format is prefix:localPart or {namespaceURI}localPart if no prefix.
|
1.4.6