Class XPathQueryImpl
- java.lang.Object
-
- org.xmldb.common.xml.queries.xalan2.XPathQueryImpl
-
- All Implemented Interfaces:
java.io.Serializable,XPathQuery
public final class XPathQueryImpl extends java.lang.Object implements XPathQuery
- Version:
- $Revision: 1.1 $ $Date: 2004/05/30 11:54:45 $
- Author:
- SMB
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XPathQueryImpl()
-
Method Summary
All Methods Instance Methods Concrete 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
public void setQString(java.lang.String qstring) throws java.lang.Exception- Specified by:
setQStringin interfaceXPathQuery- Throws:
java.lang.Exception
-
setNamespace
public void setNamespace(org.w3c.dom.Node namespace) throws java.lang.Exception- Specified by:
setNamespacein interfaceXPathQuery- Throws:
java.lang.Exception
-
setNodeFilter
public void setNodeFilter(org.w3c.dom.traversal.NodeFilter filter) throws java.lang.Exception- Specified by:
setNodeFilterin interfaceXPathQuery- Throws:
java.lang.Exception
-
execute
public XObject execute(org.w3c.dom.Node rootNode) throws java.lang.Exception
Execute the xpath.- Specified by:
executein interfaceXPathQuery- Parameters:
rootNode- The node from which the query should start or null.- Returns:
- The XObject insulating the query result.
- Throws:
java.lang.Exception
-
-