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 XObject
execute(org.w3c.dom.Node rootNode)
Execute the xpath.void
setNamespace(org.w3c.dom.Node namespace)
void
setNodeFilter(org.w3c.dom.traversal.NodeFilter filter)
void
setQString(java.lang.String qstring)
-
-
-
Method Detail
-
setQString
public void setQString(java.lang.String qstring) throws java.lang.Exception
- Specified by:
setQString
in interfaceXPathQuery
- Throws:
java.lang.Exception
-
setNamespace
public void setNamespace(org.w3c.dom.Node namespace) throws java.lang.Exception
- Specified by:
setNamespace
in interfaceXPathQuery
- Throws:
java.lang.Exception
-
setNodeFilter
public void setNodeFilter(org.w3c.dom.traversal.NodeFilter filter) throws java.lang.Exception
- Specified by:
setNodeFilter
in interfaceXPathQuery
- Throws:
java.lang.Exception
-
execute
public XObject execute(org.w3c.dom.Node rootNode) throws java.lang.Exception
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:
java.lang.Exception
-
-