Module org.htmlunit

Class XPathAdapter

java.lang.Object
org.htmlunit.html.xpath.XPathAdapter

public class XPathAdapter extends Object
XPath adapter implementation for HtmlUnit.
Author:
Ahmed Ashour, Ronald Brill
  • Constructor Details

    • XPathAdapter

      public XPathAdapter(String exprString, org.htmlunit.xpath.xml.utils.PrefixResolver prefixResolver, boolean caseSensitive) throws TransformerException
      Constructor.
      Parameters:
      exprString - the XPath expression
      prefixResolver - a prefix resolver to use to resolve prefixes to namespace URIs
      caseSensitive - whether the attributes should be case-sensitive
      Throws:
      TransformerException - if a syntax or other error occurs