Interface XPathStringExecutor

All Known Implementing Classes:
JavaXmlXPathQueryExecutor

public interface XPathStringExecutor
This class executes the given XPath String expression.
  • Method Summary

    Modifier and Type
    Method
    Description
    getNodeList(Node xmlNode, String xPathString)
    Returns the NodeList corresponding to the XPath query.
    void
    Sets the namespace context map containing a declaration of namespaces defined within the used XPath expressions
  • Method Details

    • setNamespaceContext

      void setNamespaceContext(NamespaceContextMap namespaceContext)
      Sets the namespace context map containing a declaration of namespaces defined within the used XPath expressions
      Parameters:
      namespaceContext - NamespaceContextMap
    • getNodeList

      NodeList getNodeList(Node xmlNode, String xPathString)
      Returns the NodeList corresponding to the XPath query.
      Parameters:
      xmlNode - The node where the search should be performed.
      xPathString - String XPath query string
      Returns:
      the NodeList corresponding to the XPath query