Class ConfigurationNodePointerFactory.NodeWrapper<T>

java.lang.Object
org.apache.commons.configuration2.tree.xpath.ConfigurationNodePointerFactory.NodeWrapper<T>
Type Parameters:
T - the type of the nodes this class deals with
Enclosing class:
ConfigurationNodePointerFactory

static class ConfigurationNodePointerFactory.NodeWrapper<T> extends Object
An internally used wrapper class that holds all information for processing a query for a specific node.
  • Field Details

    • node

      private final T node
      Stores the node.
    • nodeHandler

      private final NodeHandler<T> nodeHandler
      Stores the corresponding node handler.
  • Constructor Details

    • NodeWrapper

      public NodeWrapper(T nd, NodeHandler<T> handler)
      Creates a new instance of NodeWrapper and initializes it.
      Parameters:
      nd - the node
      handler - the node handler
  • Method Details

    • getNode

      public T getNode()
      Gets the wrapped node.
      Returns:
      the node
    • getNodeHandler

      public NodeHandler<T> getNodeHandler()
      Gets the node handler for the wrapped node.
      Returns:
      the node handler