API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.xpath. XPath View Source
Author(s)
Norman Walsh
Jeff Suttor
Since
1.5
Version
$Revision: 1.5 $, $Date: 2005/10/13 17:00:49 $
Serial
Hierarchy
 XPath
Subinterfaces
Description
public interface XPath
  XPath provides access to the XPath evaluation environment and expressions.
Methods
Hide/Show inherited methods
public XPathExpression compile (String expression) throws XPathExpressionException
  Compile an XPath expression for later evaluation.
public String evaluate (String expression, InputSource source) throws XPathExpressionException
  Evaluate an XPath expression in the context of the specified InputSource and return the result as a String.
public Object evaluate (String expression, InputSource source, QName returnType) throws XPathExpressionException
  Evaluate an XPath expression in the context of the specified InputSource and return the result as the specified type.
public String evaluate (String expression, Object item) throws XPathExpressionException
  Evaluate an XPath expression in the specified context and return the result as a String.
public Object evaluate (String expression, Object item, QName returnType) throws XPathExpressionException
  Evaluate an XPath expression in the specified context and return the result as the specified type.
public NamespaceContext getNamespaceContext ()
  Return the current namespace context.
public XPathFunctionResolver getXPathFunctionResolver ()
  Return the current function resolver.
public XPathVariableResolver getXPathVariableResolver ()
  Return the current variable resolver.
public void reset ()
  Reset this XPath to its original configuration.
public void setNamespaceContext (NamespaceContext nsContext)
  Establish a namespace context.
public void setXPathFunctionResolver (XPathFunctionResolver resolver)
  Establish a function resolver.
public void setXPathVariableResolver (XPathVariableResolver resolver)
  Establish a variable resolver.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar