Classes | |
class | NamespaceNodesTreeWalker |
A utility class to walk the XalanDocument instance and look for attribute nodes that declare namespaces. More... | |
Public Types | |
typedef AttributeVectorTypeDecl | AttributeVectorType |
typedef XalanMap< const XalanDOMString *, AttributeVectorType > | NamespacesMapType |
Public Member Functions | |
XalanDocumentPrefixResolver (const XalanDocument *theDocument, const XalanDOMString &theURI=XalanDOMString(XalanMemMgrs::getDummyMemMgr()), MemoryManagerType &theManager XALAN_DEFAULT_MEMMGR) | |
Constructor. More... | |
virtual | ~XalanDocumentPrefixResolver () |
virtual const XalanDOMString * | getNamespaceForPrefix (const XalanDOMString &prefix) const |
Retrieve a namespace corresponding to a prefix. More... | |
virtual const XalanDOMString & | getURI () const |
Retrieve the base URI for the resolver. More... | |
![]() | |
PrefixResolver () | |
PrefixResolver (const PrefixResolver &) | |
virtual | ~PrefixResolver () |
Protected Member Functions | |
virtual const XalanDOMString * | duplicateBinding (const AttributeVectorType &theVector) const |
This function is called when more than one binding exists for a given prefix. More... | |
typedef XalanMap<const XalanDOMString*, AttributeVectorType> XalanDocumentPrefixResolver::NamespacesMapType |
XalanDocumentPrefixResolver::XalanDocumentPrefixResolver | ( | const XalanDocument * | theDocument, |
const XalanDOMString & | theURI = XalanDOMString(XalanMemMgrs::getDummyMemMgr()) , |
||
MemoryManagerType &theManager | XALAN_DEFAULT_MEMMGR | ||
) |
Constructor.
theDocument | The XalanDocument instance to use for namespace bindings. |
theURI | The base URI for the instance. This is rarely needed, but can be provided if the URI for the XalanDocument instance is known. |
|
virtual |
|
protectedvirtual |
This function is called when more than one binding exists for a given prefix.
The default behavior uses the first binding, but a deriving class can change that behavior by overriding.
theVector | The vector associated with the namespace prefix. |
|
virtual |
Retrieve a namespace corresponding to a prefix.
This assumes that the PrevixResolver holds its own namespace context, or is a namespace context itself.
prefix | Prefix to resolve |
Implements PrefixResolver.
|
virtual |
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.10 |
|