Uses of Interface
org.apache.commons.configuration2.tree.NodeHandler
-
Packages that use NodeHandler Package Description org.apache.commons.configuration2 The Configuration main package.org.apache.commons.configuration2.tree A package with helper and utility classes used by hierarchical configurations.org.apache.commons.configuration2.tree.xpath This package contains theXPathExpressionEngine
class which enables XPATH support for querying configuration properties. -
-
Uses of NodeHandler in org.apache.commons.configuration2
Methods in org.apache.commons.configuration2 with parameters of type NodeHandler Modifier and Type Method Description java.lang.String
AbstractHierarchicalConfiguration. nodeKey(T node, java.util.Map<T,java.lang.String> cache, NodeHandler<T> handler)
Generates a unique key for the specified node.NodeAddData<T>
AbstractHierarchicalConfiguration. resolveAddKey(T root, java.lang.String key, NodeHandler<T> handler)
Resolves a key of an add operation.java.util.List<QueryResult<T>>
AbstractHierarchicalConfiguration. resolveKey(T root, java.lang.String key, NodeHandler<T> handler)
Performs a query for the specified key on the given root node.java.util.List<T>
AbstractHierarchicalConfiguration. resolveNodeKey(T root, java.lang.String key, NodeHandler<T> handler)
Performs a query for the specified key on the given root node returning only node results.NodeUpdateData<T>
AbstractHierarchicalConfiguration. resolveUpdateKey(T root, java.lang.String key, java.lang.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
Subinterfaces of NodeHandler in org.apache.commons.configuration2.tree Modifier and Type Interface Description interface
ReferenceNodeHandler
An extension of theNodeHandler
interface which allows access to so-called references stored for a node.Classes in org.apache.commons.configuration2.tree that implement NodeHandler Modifier and Type Class Description class
NodeHandlerDecorator<T>
An abstract base class for decorators of aNodeHandler
.Fields in org.apache.commons.configuration2.tree declared as NodeHandler Modifier and Type Field Description protected static NodeHandler<ImmutableNode>
NodeCombiner. HANDLER
A default handler object for immutable nodes.Methods in org.apache.commons.configuration2.tree that return NodeHandler Modifier and Type Method Description protected abstract NodeHandler<T>
NodeHandlerDecorator. getDecoratedNodeHandler()
Gets theNodeHandler
object that is decorated by this instance.NodeHandler<ImmutableNode>
InMemoryNodeModel. getNodeHandler()
Gets aNodeHandler
for dealing with the nodes managed by this model.NodeHandler<T>
NodeModel. getNodeHandler()
Gets aNodeHandler
for dealing with the nodes managed by this model.NodeHandler<ImmutableNode>
TrackedNodeModel. getNodeHandler()
NodeHandler<ImmutableNode>
InMemoryNodeModel. getTrackedNodeHandler(NodeSelector selector)
Gets aNodeHandler
for a tracked node.Methods in org.apache.commons.configuration2.tree with parameters of type NodeHandler Modifier and Type Method Description <T> java.lang.String
DefaultExpressionEngine. canonicalKey(T node, java.lang.String parentKey, NodeHandler<T> handler)
Determines a "canonical" key for the specified node in the expression language supported by this implementation.<T> java.lang.String
ExpressionEngine. canonicalKey(T node, java.lang.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, java.util.Collection<QueryResult<T>> results, NodeHandler<T> handler)
Recursive helper method for evaluating a key.java.lang.Object
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> java.lang.String
DefaultExpressionEngine. nodeKey(T node, java.lang.String parentKey, NodeHandler<T> handler)
Returns the key for the specified node in the expression language supported by an implementation.<T> java.lang.String
ExpressionEngine. nodeKey(T node, java.lang.String parentKey, NodeHandler<T> handler)
Returns the key for the specified node in the expression language supported by an implementation.java.lang.String
NodeKeyResolver. nodeKey(T node, java.util.Map<T,java.lang.String> cache, NodeHandler<T> handler)
Generates a unique key for the specified node.<T> NodeAddData<T>
DefaultExpressionEngine. prepareAdd(T root, java.lang.String key, NodeHandler<T> handler)
Prepares Adding the property with the specified key.<T> NodeAddData<T>
ExpressionEngine. prepareAdd(T root, java.lang.String key, NodeHandler<T> handler)
Returns information needed for an add operation.<T> java.util.List<QueryResult<T>>
DefaultExpressionEngine. query(T root, java.lang.String key, NodeHandler<T> handler)
Finds the nodes and/or attributes that are matched by the specified key.<T> java.util.List<QueryResult<T>>
ExpressionEngine. query(T root, java.lang.String key, NodeHandler<T> handler)
Finds the nodes and/or attributes that are matched by the specified key.NodeAddData<T>
NodeKeyResolver. resolveAddKey(T root, java.lang.String key, NodeHandler<T> handler)
Resolves a key of an add operation.java.util.List<QueryResult<T>>
NodeKeyResolver. resolveKey(T root, java.lang.String key, NodeHandler<T> handler)
Performs a query for the specified key on the given root node.java.util.List<T>
NodeKeyResolver. resolveNodeKey(T root, java.lang.String key, NodeHandler<T> handler)
Performs a query for the specified key on the given root node returning only node results.NodeUpdateData<T>
NodeKeyResolver. resolveUpdateKey(T root, java.lang.String key, java.lang.Object newValue, NodeHandler<T> handler)
Resolves a key for an update operation.ImmutableNode
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
Methods in org.apache.commons.configuration2.tree.xpath with parameters of type NodeHandler Modifier and Type Method Description <T> java.lang.String
XPathExpressionEngine. canonicalKey(T node, java.lang.String parentKey, NodeHandler<T> handler)
Determines a "canonical" key for the specified node in the expression language supported by this implementation.<T> java.lang.String
XPathExpressionEngine. nodeKey(T node, java.lang.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, java.lang.String key, NodeHandler<T> handler)
Returns information needed for an add operation.<T> java.util.List<QueryResult<T>>
XPathExpressionEngine. query(T root, java.lang.String key, NodeHandler<T> handler)
Finds the nodes and/or attributes that are matched by the specified key.static <T> java.lang.Object
ConfigurationNodePointerFactory. wrapNode(T node, NodeHandler<T> handler)
Creates a node wrapper for the specified node and its handler.
-