org.infozone.tools.xml.queries.xt
Class XPathQueryImpl
java.lang.Object
|
+--org.infozone.tools.xml.queries.xt.XPathQueryImpl
- All Implemented Interfaces:
- java.io.Serializable, XPathQuery
- public final class XPathQueryImpl
- extends java.lang.Object
- implements XPathQuery
- Version:
- $Revision: 1.2 $ $Date: 2000/11/17 13:16:06 $
- Author:
- SMB
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XPathQueryImpl
public XPathQueryImpl()
setQString
public void setQString(java.lang.String qstring)
throws java.lang.Exception
- Specified by:
setQString
in interface XPathQuery
java.lang.Exception
setNamespace
public void setNamespace(org.w3c.dom.Node namespace)
throws java.lang.Exception
- Specified by:
setNamespace
in interface XPathQuery
java.lang.Exception
setNodeFilter
public void setNodeFilter(org.w3c.dom.traversal.NodeFilter filter)
throws java.lang.Exception
- Specified by:
setNodeFilter
in interface XPathQuery
java.lang.Exception
execute
public XObject execute(org.w3c.dom.Node rootNode)
throws java.lang.Exception
- Description copied from interface:
XPathQuery
- Execute the xpath.
- Specified by:
execute
in interface XPathQuery
- Parameters:
rootNode
- The node from which the query should start or null.
- Returns:
- The XObject insulating the query result.
java.lang.Exception