Spring Web Services Framework

org.springframework.xml.xpath
Interface NodeCallbackHandler


public interface NodeCallbackHandler

An interface used by XPathOperations implementations for processing Node objects on a per-node basis. Implementations of this interface perform the actual work of processing nodes, but don't need to worry about exception handling.

Consider using a NodeMapper instead if you need to map exactly result object per node, assembling them in a List.

Since:
1.0.0
Author:
Arjen Poutsma
See Also:
XPathOperations.evaluate(String,javax.xml.transform.Source,NodeCallbackHandler)

Method Summary
 void processNode(Node node)
          Processed a single node.
 

Method Detail

processNode

void processNode(Node node)
                 throws DOMException
Processed a single node.

Parameters:
node - the node to map
Throws:
DOMException - in case of DOM errors

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.