
| 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 XalanDocumentPrefixResolver::~XalanDocumentPrefixResolver | ( | ) | [virtual] |
| virtual const XalanDOMString* XalanDocumentPrefixResolver::getNamespaceForPrefix | ( | const XalanDOMString & | prefix | ) | const [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 const XalanDOMString& XalanDocumentPrefixResolver::getURI | ( | ) | const [virtual] |
| virtual const XalanDOMString* XalanDocumentPrefixResolver::duplicateBinding | ( | const AttributeVectorType & | theVector | ) | const [protected, virtual] |
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. |
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
|
Xalan-C++ XSLT Processor Version 1.10 |
|
|