wt.util.xml.xpath
Interface XPathCallback

All Known Subinterfaces:
XPathNICallback
All Known Implementing Classes:
AbstractXPathCallback, SingleNodeCallback, XPaths.AbstractXPathsCallback

public interface XPathCallback

Interface bearing a method for each type of result located by an XPath. XPath implementations are responsible for invoking the appropriate method.

Supported API: false

Extendable: false

See Also:
XPath

Method Summary
 void process(boolean value)
          To be invoked by the XPath implementation when the value specified in the XPath expression can be interpreted as a boolean.
 void process(DocumentFragment value)
          To be invoked by the XPath implementation when the value specified in the XPath expression should be interpreted as a DocumentFragment.
 void process(double value)
          To be invoked by the XPath implementation when the value specified in the XPath expression can be interpreted as a double.
 void process(NodeList value)
          To be invoked by the XPath implementation when the value specified in the XPath expression can only be interpreted as a list of nodes.
 void process(String value)
          To be invoked by the XPath implementation when the value specified in the XPath expression can be interpreted as a String.
 void processNotFound()
          To be invoked by the XPath implementation when the XPath expression does not match any XML construct.
 

Method Detail

process

public void process(double value)
To be invoked by the XPath implementation when the value specified in the XPath expression can be interpreted as a double.

Supported API: false

Parameters:
value -

process

public void process(String value)
To be invoked by the XPath implementation when the value specified in the XPath expression can be interpreted as a String.

Supported API: false

Parameters:
value -

process

public void process(boolean value)
To be invoked by the XPath implementation when the value specified in the XPath expression can be interpreted as a boolean.

Supported API: false

Parameters:
value -

process

public void process(DocumentFragment value)
To be invoked by the XPath implementation when the value specified in the XPath expression should be interpreted as a DocumentFragment.

Supported API: false

Parameters:
value -

process

public void process(NodeList value)
To be invoked by the XPath implementation when the value specified in the XPath expression can only be interpreted as a list of nodes.

Supported API: false

Parameters:
value -

processNotFound

public void processNotFound()
To be invoked by the XPath implementation when the XPath expression does not match any XML construct.

Supported API: false