org.basex.api.jaxp
Class XPathExprImpl
java.lang.Object
org.basex.api.jaxp.XPathExprImpl
- All Implemented Interfaces:
- javax.xml.xpath.XPathExpression
public class XPathExprImpl
- extends java.lang.Object
- implements javax.xml.xpath.XPathExpression
This class provides an API for standalone XPath processing.
- Author:
- Workgroup DBIS, University of Konstanz 2005-08, ISC License, Christian Gruen
Constructor Summary |
XPathExprImpl(java.lang.String expr)
Constructor. |
Method Summary |
java.lang.String |
evaluate(org.xml.sax.InputSource is)
|
java.lang.Object |
evaluate(org.xml.sax.InputSource is,
javax.xml.namespace.QName res)
|
java.lang.String |
evaluate(java.lang.Object item)
|
java.lang.Object |
evaluate(java.lang.Object item,
javax.xml.namespace.QName res)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XPathExprImpl
public XPathExprImpl(java.lang.String expr)
- Constructor.
- Parameters:
expr
- query expression
evaluate
public java.lang.String evaluate(java.lang.Object item)
throws javax.xml.xpath.XPathExpressionException
- Specified by:
evaluate
in interface javax.xml.xpath.XPathExpression
- Throws:
javax.xml.xpath.XPathExpressionException
evaluate
public java.lang.String evaluate(org.xml.sax.InputSource is)
throws javax.xml.xpath.XPathExpressionException
- Specified by:
evaluate
in interface javax.xml.xpath.XPathExpression
- Throws:
javax.xml.xpath.XPathExpressionException
evaluate
public java.lang.Object evaluate(java.lang.Object item,
javax.xml.namespace.QName res)
throws javax.xml.xpath.XPathExpressionException
- Specified by:
evaluate
in interface javax.xml.xpath.XPathExpression
- Throws:
javax.xml.xpath.XPathExpressionException
evaluate
public java.lang.Object evaluate(org.xml.sax.InputSource is,
javax.xml.namespace.QName res)
throws javax.xml.xpath.XPathExpressionException
- Specified by:
evaluate
in interface javax.xml.xpath.XPathExpression
- Throws:
javax.xml.xpath.XPathExpressionException