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
An internally used wrapper class that holds all information for processing a query for a specific node.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final T
Stores the node.private final NodeHandler<T>
Stores the corresponding node handler. -
Constructor Summary
ConstructorsConstructorDescriptionNodeWrapper
(T nd, NodeHandler<T> handler) Creates a new instance ofNodeWrapper
and initializes it. -
Method Summary
Modifier and TypeMethodDescriptiongetNode()
Gets the wrapped node.Gets the node handler for the wrapped node.
-
Field Details
-
node
Stores the node. -
nodeHandler
Stores the corresponding node handler.
-
-
Constructor Details
-
NodeWrapper
Creates a new instance ofNodeWrapper
and initializes it.- Parameters:
nd
- the nodehandler
- the node handler
-
-
Method Details
-
getNode
Gets the wrapped node.- Returns:
- the node
-
getNodeHandler
Gets the node handler for the wrapped node.- Returns:
- the node handler
-