#include <xmltooling/Namespace.h>
Public Types | |
| enum | namespace_usage_t { Indeterminate, NonVisiblyUsed, VisiblyUsed } |
| Tri-state indicator of namespace usage. | |
Public Member Functions | |
| Namespace (const XMLCh *uri=0, const XMLCh *prefix=0, bool alwaysDeclare=false, namespace_usage_t usage=Indeterminate) | |
| 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. | |
| const namespace_usage_t | usage () const |
| Returns the usage of the namespace by an XMLObject. | |
| 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. | |
| void | setUsage (namespace_usage_t usage) |
| Sets the usage property. | |
|
||||||||||||||||||||
|
Constructor.
|
|
|
Returns true iff the namespace should always be declared regardless of in-scope declarations.
|
|
|
Returns the namespace prefix.
|
|
|
Returns the namespace URI.
|
|
|
Sets the alwaysDeclared property.
|
|
|
Sets the namespace prefix.
|
|
|
Sets the namespace URI.
|
|
|
Sets the usage property.
|
|
|
Returns the usage of the namespace by an XMLObject.
|
1.4.6