Class XPathQueryImpl
java.lang.Object
org.xmldb.common.xml.queries.xalan2.XPathQueryImpl
- All Implemented Interfaces:
Serializable
,XPathQuery
- Version:
- $Revision: 1.1 $ $Date: 2004/05/30 11:54:45 $
- Author:
- SMB
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExecute the xpath.void
setNamespace
(Node namespace) void
setNodeFilter
(org.w3c.dom.traversal.NodeFilter filter) void
setQString
(String qstring)
-
Constructor Details
-
XPathQueryImpl
public XPathQueryImpl()
-
-
Method Details
-
setQString
- Specified by:
setQString
in interfaceXPathQuery
- Throws:
Exception
-
setNamespace
- Specified by:
setNamespace
in interfaceXPathQuery
- Throws:
Exception
-
setNodeFilter
- Specified by:
setNodeFilter
in interfaceXPathQuery
- Throws:
Exception
-
execute
Execute the xpath.- Specified by:
execute
in interfaceXPathQuery
- Parameters:
rootNode
- The node from which the query should start or null.- Returns:
- The XObject insulating the query result.
- Throws:
Exception
-