org.basex.api.jaxp
Class BXPath
java.lang.Object
org.basex.api.jaxp.BXPath
- All Implemented Interfaces:
- XPath
public final class BXPath
- extends Object
- implements XPath
This class provides an API for standalone XPath processing.
- Author:
- Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen
BXPath
public BXPath()
reset
public void reset()
- Specified by:
reset
in interface XPath
setXPathVariableResolver
public void setXPathVariableResolver(XPathVariableResolver var)
- Specified by:
setXPathVariableResolver
in interface XPath
getXPathVariableResolver
public XPathVariableResolver getXPathVariableResolver()
- Specified by:
getXPathVariableResolver
in interface XPath
setXPathFunctionResolver
public void setXPathFunctionResolver(XPathFunctionResolver fun)
- Specified by:
setXPathFunctionResolver
in interface XPath
getXPathFunctionResolver
public XPathFunctionResolver getXPathFunctionResolver()
- Specified by:
getXPathFunctionResolver
in interface XPath
setNamespaceContext
public void setNamespaceContext(NamespaceContext ns)
- Specified by:
setNamespaceContext
in interface XPath
getNamespaceContext
public NamespaceContext getNamespaceContext()
- Specified by:
getNamespaceContext
in interface XPath
compile
public XPathExpression compile(String expr)
- Specified by:
compile
in interface XPath
evaluate
public Object evaluate(String expr,
Object item,
QName res)
throws XPathExpressionException
- Specified by:
evaluate
in interface XPath
- Throws:
XPathExpressionException
evaluate
public String evaluate(String expr,
Object item)
throws XPathExpressionException
- Specified by:
evaluate
in interface XPath
- Throws:
XPathExpressionException
evaluate
public Object evaluate(String expr,
InputSource source,
QName res)
throws XPathExpressionException
- Specified by:
evaluate
in interface XPath
- Throws:
XPathExpressionException
evaluate
public String evaluate(String expr,
InputSource source)
throws XPathExpressionException
- Specified by:
evaluate
in interface XPath
- Throws:
XPathExpressionException