Interface XPathQuery

All Superinterfaces:
Serializable
All Known Implementing Classes:
XPathQueryImpl

public interface XPathQuery extends Serializable
This class represents a XPath query, which an org.apache.xalan.xpath.XPathProcessor is able to handle.
Version:
$Revision: 1.1 $ $Date: 2004/05/30 11:54:45 $
Author:
SMB
See Also:
  • org.apache.xalan.xpath.XPathProcessor
  • Method Details

    • setQString

      void setQString(String qstring) throws Exception
      Throws:
      Exception
    • setNamespace

      void setNamespace(Node namespace) throws Exception
      Throws:
      Exception
    • setNodeFilter

      void setNodeFilter(org.w3c.dom.traversal.NodeFilter filter) throws Exception
      Throws:
      Exception
    • execute

      XObject execute(Node rootNode) throws Exception
      Execute the xpath.
      Parameters:
      rootNode - The node from which the query should start or null.
      Returns:
      The XObject insulating the query result.
      Throws:
      Exception