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)
processNode
void processNode(Node node)
throws DOMException
- Processed a single node.
- Parameters:
node
- the node to map
- Throws:
DOMException
- in case of DOM errors
Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.