Package org.springframework.xml.xpath
Interface NodeMapper<T>
public interface NodeMapper<T>
An interface used by
XPathOperations
implementations for mapping Node
objects on a per-node basis.
Implementations of this interface perform the actual work of mapping each node to a result object, but don't need to
worry about exception handling.- Since:
- 1.0.0
- Author:
- Arjen Poutsma
- See Also:
-
Method Summary
-
Method Details
-
mapNode
Maps a single node to an arbitrary object.- Parameters:
node
- the node to mapnodeNum
- the number of the current node- Returns:
- object for the current node
- Throws:
DOMException
- in case of DOM errors
-