Class AbstractDocument.XPathExpr

java.lang.Object
org.apache.batik.dom.AbstractDocument.XPathExpr
All Implemented Interfaces:
org.w3c.dom.xpath.XPathExpression
Enclosing class:
AbstractDocument

protected class AbstractDocument.XPathExpr extends Object implements org.w3c.dom.xpath.XPathExpression
A compiled XPath expression.
  • Field Details

  • Constructor Details

    • XPathExpr

      public XPathExpr(String expr, org.w3c.dom.xpath.XPathNSResolver res) throws DOMException, org.w3c.dom.xpath.XPathException
      Creates a new XPathExpr object.
      Throws:
      DOMException
      org.w3c.dom.xpath.XPathException
  • Method Details

    • evaluate

      public Object evaluate(Node contextNode, short type, Object res) throws org.w3c.dom.xpath.XPathException, DOMException
      DOM: Implements XPathExpression.evaluate(Node,short,Object).
      Specified by:
      evaluate in interface org.w3c.dom.xpath.XPathExpression
      Throws:
      org.w3c.dom.xpath.XPathException
      DOMException