Uses of Interface
org.apache.commons.configuration2.tree.NodeHandler
Package
Description
The Configuration main package.
A package with helper and utility classes used by hierarchical configurations.
This package contains the
XPathExpressionEngine
class which enables XPATH support for querying configuration
properties.-
Uses of NodeHandler in org.apache.commons.configuration2
Modifier and TypeMethodDescriptionGenerates a unique key for the specified node.AbstractHierarchicalConfiguration.resolveAddKey
(T root, String key, NodeHandler<T> handler) Resolves a key of an add operation.List<QueryResult<T>>
AbstractHierarchicalConfiguration.resolveKey
(T root, String key, NodeHandler<T> handler) Performs a query for the specified key on the given root node.AbstractHierarchicalConfiguration.resolveNodeKey
(T root, String key, NodeHandler<T> handler) Performs a query for the specified key on the given root node returning only node results.AbstractHierarchicalConfiguration.resolveUpdateKey
(T root, String key, Object newValue, NodeHandler<T> handler) Resolves a key for an update operation.void
BaseHierarchicalConfiguration.BuilderVisitor.visitBeforeChildren
(ImmutableNode node, NodeHandler<ImmutableNode> handler) -
Uses of NodeHandler in org.apache.commons.configuration2.tree
Modifier and TypeInterfaceDescriptioninterface
An extension of theNodeHandler
interface which allows access to so-called references stored for a node.Modifier and TypeClassDescriptionclass
An abstract base class for decorators of aNodeHandler
.Modifier and TypeFieldDescriptionprotected static final NodeHandler<ImmutableNode>
NodeCombiner.HANDLER
A default handler object for immutable nodes.Modifier and TypeMethodDescriptionprotected abstract NodeHandler<T>
NodeHandlerDecorator.getDecoratedNodeHandler()
Gets theNodeHandler
object that is decorated by this instance.InMemoryNodeModel.getNodeHandler()
Gets aNodeHandler
for dealing with the nodes managed by this model.NodeModel.getNodeHandler()
Gets aNodeHandler
for dealing with the nodes managed by this model.TrackedNodeModel.getNodeHandler()
InMemoryNodeModel.getTrackedNodeHandler
(NodeSelector selector) Gets aNodeHandler
for a tracked node.Modifier and TypeMethodDescription<T> String
DefaultExpressionEngine.canonicalKey
(T node, String parentKey, NodeHandler<T> handler) Determines a "canonical" key for the specified node in the expression language supported by this implementation.<T> String
ExpressionEngine.canonicalKey
(T node, String parentKey, NodeHandler<T> handler) Determines a "canonical" key for the specified node in the expression language supported by this implementation.protected <T> T
DefaultExpressionEngine.findLastPathNode
(DefaultConfigurationKey.KeyIterator keyIt, T node, NodeHandler<T> handler) Finds the last existing node for an add operation.protected <T> void
DefaultExpressionEngine.findNodesForKey
(DefaultConfigurationKey.KeyIterator keyPart, T node, Collection<QueryResult<T>> results, NodeHandler<T> handler) Recursive helper method for evaluating a key.QueryResult.getAttributeValue
(NodeHandler<T> handler) Gets the attribute value if this is an attribute result.<T> boolean
NodeMatcher.matches
(T node, NodeHandler<T> handler, C criterion) Tests whether the passed in node matches the given criterion.<T> String
DefaultExpressionEngine.nodeKey
(T node, String parentKey, NodeHandler<T> handler) Returns the key for the specified node in the expression language supported by an implementation.<T> String
ExpressionEngine.nodeKey
(T node, String parentKey, NodeHandler<T> handler) Returns the key for the specified node in the expression language supported by an implementation.Generates a unique key for the specified node.<T> NodeAddData<T>
DefaultExpressionEngine.prepareAdd
(T root, String key, NodeHandler<T> handler) Prepares Adding the property with the specified key.<T> NodeAddData<T>
ExpressionEngine.prepareAdd
(T root, String key, NodeHandler<T> handler) Returns information needed for an add operation.<T> List<QueryResult<T>>
DefaultExpressionEngine.query
(T root, String key, NodeHandler<T> handler) Finds the nodes and/or attributes that are matched by the specified key.<T> List<QueryResult<T>>
ExpressionEngine.query
(T root, String key, NodeHandler<T> handler) Finds the nodes and/or attributes that are matched by the specified key.NodeKeyResolver.resolveAddKey
(T root, String key, NodeHandler<T> handler) Resolves a key of an add operation.List<QueryResult<T>>
NodeKeyResolver.resolveKey
(T root, String key, NodeHandler<T> handler) Performs a query for the specified key on the given root node.NodeKeyResolver.resolveNodeKey
(T root, String key, NodeHandler<T> handler) Performs a query for the specified key on the given root node returning only node results.NodeKeyResolver.resolveUpdateKey
(T root, String key, Object newValue, NodeHandler<T> handler) Resolves a key for an update operation.NodeSelector.select
(ImmutableNode root, NodeKeyResolver<ImmutableNode> resolver, NodeHandler<ImmutableNode> handler) Applies thisNodeSelector
on the specified root node.void
ConfigurationNodeVisitor.visitAfterChildren
(T node, NodeHandler<T> handler) Visits the specified node after after its children - if existing - have been processed.void
ConfigurationNodeVisitorAdapter.visitAfterChildren
(T node, NodeHandler<T> handler) Visits the specified node after after its children - if existing - have been processed.void
ConfigurationNodeVisitor.visitBeforeChildren
(T node, NodeHandler<T> handler) Visits the specified node before the children of this node - if existing - are processed.void
ConfigurationNodeVisitorAdapter.visitBeforeChildren
(T node, NodeHandler<T> handler) Visits the specified node before the children of this node - if existing - are processed.<T> void
NodeTreeWalker.walkBFS
(T root, ConfigurationNodeVisitor<T> visitor, NodeHandler<T> handler) Visits all nodes in the hierarchy represented by the given root node in breadth first search manner.<T> void
NodeTreeWalker.walkDFS
(T root, ConfigurationNodeVisitor<T> visitor, NodeHandler<T> handler) Visits all nodes in the hierarchy represented by the given root node in depth first search manner. -
Uses of NodeHandler in org.apache.commons.configuration2.tree.xpath
Modifier and TypeMethodDescription<T> String
XPathExpressionEngine.canonicalKey
(T node, String parentKey, NodeHandler<T> handler) Determines a "canonical" key for the specified node in the expression language supported by this implementation.<T> String
XPathExpressionEngine.nodeKey
(T node, String parentKey, NodeHandler<T> handler) Returns the key for the specified node in the expression language supported by an implementation.<T> NodeAddData<T>
XPathExpressionEngine.prepareAdd
(T root, String key, NodeHandler<T> handler) Returns information needed for an add operation.<T> List<QueryResult<T>>
XPathExpressionEngine.query
(T root, String key, NodeHandler<T> handler) Finds the nodes and/or attributes that are matched by the specified key.static <T> Object
ConfigurationNodePointerFactory.wrapNode
(T node, NodeHandler<T> handler) Creates a node wrapper for the specified node and its handler.