Class PropertiesBasedPrefixResolverForXpath2

  • All Implemented Interfaces:
    org.apache.xml.utils.PrefixResolver

    
    public class PropertiesBasedPrefixResolverForXpath2
    extends PrefixResolverDefault
                        

    PrefixResolver implementation that loads prefix configuration from jmeter property xpath.namespace.config

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getNamespaceForPrefix(String prefix, Node namespaceContext) Searches prefix in NAMESPACE_MAP, if it fails to find it defaults to parent implementation
      • Methods inherited from class org.apache.xml.utils.PrefixResolverDefault

        getBaseIdentifier, getNamespaceForPrefix, handlesNullPrefixes
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PropertiesBasedPrefixResolverForXpath2

        PropertiesBasedPrefixResolverForXpath2(Node xpathExpressionContext, String ns)
        Parameters:
        xpathExpressionContext - Node
        ns - Namespaces declaration
    • Method Detail

      • getNamespaceForPrefix

         String getNamespaceForPrefix(String prefix, Node namespaceContext)

        Searches prefix in NAMESPACE_MAP, if it fails to find it defaults to parent implementation

        Parameters:
        prefix - Prefix
        namespaceContext - Node