Class ConfigurationNodePointerFactory.NodeWrapper<T>

  • Type Parameters:
    T - the type of the nodes this class deals with
    Enclosing class:
    ConfigurationNodePointerFactory

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

      Fields 
      Modifier and Type Field Description
      private T node
      Stores the node.
      private NodeHandler<T> nodeHandler
      Stores the corresponding node handler.
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeWrapper​(T nd, NodeHandler<T> handler)
      Creates a new instance of NodeWrapper and initializes it.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getNode()
      Gets the wrapped node.
      NodeHandler<T> getNodeHandler()
      Gets the node handler for the wrapped node.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • node

        private final T node
        Stores the node.
      • nodeHandler

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

      • 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 Detail

      • 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