Package org.apache.jmeter.util
Class PropertiesBasedPrefixResolverForXpath2
java.lang.Object
org.apache.xml.utils.PrefixResolverDefault
org.apache.jmeter.util.PropertiesBasedPrefixResolverForXpath2
- All Implemented Interfaces:
org.apache.xml.utils.PrefixResolver
public class PropertiesBasedPrefixResolverForXpath2
extends org.apache.xml.utils.PrefixResolverDefault
PrefixResolver implementation that loads prefix configuration from
jmeter property xpath.namespace.config-
Constructor Summary
ConstructorsConstructorDescriptionPropertiesBasedPrefixResolverForXpath2(Node xpathExpressionContext, String ns) -
Method Summary
Modifier and TypeMethodDescriptiongetNamespaceForPrefix(String prefix, Node namespaceContext) Searches prefix in NAMESPACE_MAP, if it fails to find it defaults to parent implementationMethods inherited from class org.apache.xml.utils.PrefixResolverDefault
getBaseIdentifier, getNamespaceForPrefix, handlesNullPrefixes
-
Constructor Details
-
PropertiesBasedPrefixResolverForXpath2
- Parameters:
xpathExpressionContext- Nodens- Namespaces declaration
-
-
Method Details
-
getNamespaceForPrefix
Searches prefix in NAMESPACE_MAP, if it fails to find it defaults to parent implementation- Specified by:
getNamespaceForPrefixin interfaceorg.apache.xml.utils.PrefixResolver- Overrides:
getNamespaceForPrefixin classorg.apache.xml.utils.PrefixResolverDefault- Parameters:
prefix- PrefixnamespaceContext- Node
-