Package org.xmldb.common.xml.queries
Interface XPathQuery
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
XPathQueryImpl
public interface XPathQuery extends java.io.SerializableThis class represents a XPath query, which anorg.apache.xalan.xpath.XPathProcessoris able to handle.- Version:
- $Revision: 1.1 $ $Date: 2004/05/30 11:54:45 $
- Author:
- SMB
- See Also:
org.apache.xalan.xpath.XPathProcessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XObjectexecute(org.w3c.dom.Node rootNode)Execute the xpath.voidsetNamespace(org.w3c.dom.Node namespace)voidsetNodeFilter(org.w3c.dom.traversal.NodeFilter filter)voidsetQString(java.lang.String qstring)
-
-
-
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
-
-