Class 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)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XPathQueryImpl

        public XPathQueryImpl()
    • Method Detail

      • setQString

        public void setQString​(java.lang.String qstring)
                        throws java.lang.Exception
        Specified by:
        setQString in interface XPathQuery
        Throws:
        java.lang.Exception
      • setNamespace

        public void setNamespace​(org.w3c.dom.Node namespace)
                          throws java.lang.Exception
        Specified by:
        setNamespace in interface XPathQuery
        Throws:
        java.lang.Exception
      • setNodeFilter

        public void setNodeFilter​(org.w3c.dom.traversal.NodeFilter filter)
                           throws java.lang.Exception
        Specified by:
        setNodeFilter in interface XPathQuery
        Throws:
        java.lang.Exception
      • execute

        public XObject execute​(org.w3c.dom.Node rootNode)
                        throws java.lang.Exception
        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.
        Throws:
        java.lang.Exception