org.infozone.tools.xml.queries
Interface XPathQuery
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- XPathQueryImpl, XPathQueryImpl
- public interface XPathQuery
- extends java.io.Serializable
This class represents a XPath query, which an XPathProcessor
is
able to handle.
- Version:
- $Revision: 1.2 $ $Date: 2000/11/17 13:16:02 $
- Author:
- SMB
- See Also:
XPathProcessor
setQString
public void setQString(java.lang.String qstring)
throws java.lang.Exception
java.lang.Exception
setNamespace
public void setNamespace(org.w3c.dom.Node namespace)
throws java.lang.Exception
java.lang.Exception
setNodeFilter
public void setNodeFilter(org.w3c.dom.traversal.NodeFilter filter)
throws java.lang.Exception
java.lang.Exception
execute
public 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.
java.lang.Exception