#include <xmltooling/Namespace.h>
Public Member Functions | |
| Namespace (const XMLCh *uri=NULL, const XMLCh *prefix=NULL, bool alwaysDeclare=false) | |
| Constructor. | |
| const XMLCh * | getNamespacePrefix () const |
| Returns the namespace prefix. | |
| const XMLCh * | getNamespaceURI () const |
| Returns the namespace URI. | |
| const bool | alwaysDeclare () const |
| Returns true iff the namespace should always be declared regardless of in-scope declarations. | |
| void | setNamespacePrefix (const XMLCh *prefix) |
| Sets the namespace prefix. | |
| void | setNamespaceURI (const XMLCh *uri) |
| Sets the namespace URI. | |
| void | setAlwaysDeclare (bool alwaysDeclare) |
| Sets the alwaysDeclared property. | |
| xmltooling::Namespace::Namespace | ( | const XMLCh * | uri = NULL, |
|
| const XMLCh * | prefix = NULL, |
|||
| bool | alwaysDeclare = false | |||
| ) |
Constructor.
| uri | namespace URI | |
| prefix | namespace prefix (without the colon) | |
| alwaysDeclare | true iff the namespace should always be declared regardless of in-scope declarations |
| const bool xmltooling::Namespace::alwaysDeclare | ( | ) | const [inline] |
Returns true iff the namespace should always be declared regardless of in-scope declarations.
| const XMLCh* xmltooling::Namespace::getNamespacePrefix | ( | ) | const [inline] |
Returns the namespace prefix.
| const XMLCh* xmltooling::Namespace::getNamespaceURI | ( | ) | const [inline] |
Returns the namespace URI.
| void xmltooling::Namespace::setAlwaysDeclare | ( | bool | alwaysDeclare | ) | [inline] |
Sets the alwaysDeclared property.
| alwaysDeclare | true iff the namespace should always be declared regardless of in-scope declarations |
| void xmltooling::Namespace::setNamespacePrefix | ( | const XMLCh * | prefix | ) |
Sets the namespace prefix.
| prefix | Null-terminated Unicode string containing the prefix, without the colon |
| void xmltooling::Namespace::setNamespaceURI | ( | const XMLCh * | uri | ) |
Sets the namespace URI.
| uri | Null-terminated Unicode string containing the URI |
1.4.7