protected class XPathUtilsImpl.IXSILPrefixResolver
extends org.apache.xml.utils.PrefixResolverDefault
PrefixResolverDefault interface. Used to
configure the Apache Xalan XPath engine which is employed as the backbone of this class.| Modifier and Type | Field and Description |
|---|---|
protected java.util.HashMap |
additionalNSPrefixesMap_
Contains the additionally specified namespace prefix (key) to namespace URI (value) attributions.
|
| Constructor and Description |
|---|
XPathUtilsImpl.IXSILPrefixResolver(org.w3c.dom.Node xpathExpressionContext,
java.lang.String additionalNSPrefixes)
Basic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNamespaceForPrefix(java.lang.String prefix)
Gets the namespace uri for the specified namespace prefix.
|
protected java.util.HashMap additionalNSPrefixesMap_
public XPathUtilsImpl.IXSILPrefixResolver(org.w3c.dom.Node xpathExpressionContext,
java.lang.String additionalNSPrefixes)
xpathExpressionContext - The namespace declarations in scope for this node will be used to get
the namespace uri for a prefix specified in the XPath expression.additionalNSPrefixes - Allows the specification of additional prefix to uri attributions apart
from the declarations in scope for the parameter
xpathExpressionContext. May be null.public java.lang.String getNamespaceForPrefix(java.lang.String prefix)
getNamespaceForPrefix in interface org.apache.xml.utils.PrefixResolvergetNamespaceForPrefix in class org.apache.xml.utils.PrefixResolverDefaultprefix - The namespace prefix for which a namespace uri should be found.