#include <XalanDocumentPrefixResolver.hpp>
Inherits PrefixResolver.
◆ AttributeVectorType
◆ NamespacesMapType
◆ XalanDocumentPrefixResolver()
Constructor.
- Parameters
-
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. |
◆ ~XalanDocumentPrefixResolver()
virtual XalanDocumentPrefixResolver::~XalanDocumentPrefixResolver |
( |
| ) |
|
|
virtual |
◆ duplicateBinding()
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.
- Parameters
-
theVector | The vector associated with the namespace prefix. |
- Returns
- A pointer to a const XalanDOMString containing the desired binding, or NULL.
◆ getNamespaceForPrefix()
Retrieve a namespace corresponding to a prefix.
This assumes that the PrevixResolver holds its own namespace context, or is a namespace context itself.
- Parameters
-
- Returns
- namespace that prefix resolves to, or null if prefix is not found
Implements PrefixResolver.
◆ getURI()
virtual const XalanDOMString& XalanDocumentPrefixResolver::getURI |
( |
| ) |
const |
|
virtual |
Retrieve the base URI for the resolver.
- Returns
- URI string
Implements PrefixResolver.
The documentation for this class was generated from the following file: