Interface XPathQuery

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    XPathQueryImpl

    public interface XPathQuery
    extends java.io.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 Detail

      • setQString

        void setQString​(java.lang.String qstring)
                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setNamespace

        void setNamespace​(org.w3c.dom.Node namespace)
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setNodeFilter

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

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