Link against: xmlengineDOM.lib
#include <xmlengnamespace.h>
Inherits TXmlEngNode.
All elements and attributes may have a namespace instance associated. Once put in element, a namespace declaration (instance of TXmlEngNamespace) may be referred to by all attributes and descentants of the element (unless prefix that this namespace-to-prefix binding uses is overriden somewhere below in the document tree)
General rules of namespace handling:
Public Member Functions |
|
TXmlEngNamespace () | |
Default constructor. |
|
IMPORT_C TPtrC8 | Uri () const |
/** Get namespace URI |
|
IMPORT_C TPtrC8 | Prefix () const |
Get namespace prefix. |
|
IMPORT_C TBool | IsDefault () const |
Check if namespace is default. |
|
IMPORT_C TBool | IsUndefined () const |
Check if namespace is undefined. |
|
Protected Member Functions |
|
TPtrC8 | NamespaceUri () |
Workaround to avoid misuse of TXmlEngNode::NamespaceUri() method, which should not be applied to TXmlEngNamespace node. |
|
TXmlEngNamespace (void *aPtr) | |
Constructor. |
|
Friends |
|
class | TXmlEngElement |
class | TXmlEngNode |
|
Default constructor.
|
|
Constructor.
|
|
Check if namespace is default.
|
|
Check if namespace is undefined.
|
|
Workaround to avoid misuse of TXmlEngNode::NamespaceUri() method, which should not be applied to TXmlEngNamespace node. Since the name of the inherited method from TXmlEngNode is too similar to TXmlEngNamespace::Uri(), NamespaceUri() is disabled for direct use. If NamespaceUri() is called on the TXmlEngNamespace object that is downcasted to TXmlEngNode, then NamespaceUri()'s result equals to result of Uri() method.
|
|
Get namespace prefix.
Reimplemented from TXmlEngNode. |
|
/** Get namespace URI
|
|
|