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:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Processed a single node.
  • Method Details

    • processNode

      void processNode(Node node) throws DOMException
      Processed a single node.
      Parameters:
      node - the node to map
      Throws:
      DOMException - in case of DOM errors