wt.query.qml
Class SingleNodeCallback

java.lang.Object
  extended bywt.util.xml.xpath.AbstractXPathCallback
      extended bywt.query.qml.SingleNodeCallback
All Implemented Interfaces:
XPathCallback, XPathNICallback

final class SingleNodeCallback
extends AbstractXPathCallback
implements XPathNICallback


Field Summary
private  Node node
           
 
Fields inherited from class wt.util.xml.xpath.AbstractXPathCallback
 
Constructor Summary
(package private) SingleNodeCallback()
           
 
Method Summary
 Node getNode()
           
 void process(NodeIterator iter)
          This method will be called in preference to the version that takes a NodeList where both are present as this will be more efficient.
 
Methods inherited from class wt.util.xml.xpath.AbstractXPathCallback
process, process, process, process, process, processNotFound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface wt.util.xml.xpath.XPathCallback
process, process, process, process, process, processNotFound
 

Field Detail

node

private Node node
Constructor Detail

SingleNodeCallback

SingleNodeCallback()
Method Detail

process

public void process(NodeIterator iter)
Description copied from interface: XPathNICallback
This method will be called in preference to the version that takes a NodeList where both are present as this will be more efficient.

Specified by:
process in interface XPathNICallback

getNode

public Node getNode()