public class PropertiesBasedPrefixResolver
extends org.apache.xml.utils.PrefixResolverDefault
PrefixResolver
implementation that loads prefix configuration from jmeter property xpath.namespace.configConstructor and Description |
---|
PropertiesBasedPrefixResolver(Node xpathExpressionContext) |
Modifier and Type | Method and Description |
---|---|
String |
getNamespaceForPrefix(String prefix,
Node namespaceContext)
Searches prefix in NAMESPACE_MAP, if it fails to find it defaults to parent implementation
|
public PropertiesBasedPrefixResolver(Node xpathExpressionContext)
xpathExpressionContext
- Nodepublic String getNamespaceForPrefix(String prefix, Node namespaceContext)
getNamespaceForPrefix
in interface org.apache.xml.utils.PrefixResolver
getNamespaceForPrefix
in class org.apache.xml.utils.PrefixResolverDefault
prefix
- PrefixnamespaceContext
- NodeCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.