Package org.apache.commons.configuration2.tree
A package with helper and utility classes used by hierarchical configurations.
-
Interface Summary Interface Description ConfigurationNodeVisitor<T> Definition of a Visitor interface for a configuration node structure.ExpressionEngine Definition of an interface for evaluating keys for hierarchical configurations.InMemoryNodeModel.TransactionInitializer An interface used internally for handling concurrent updates.InMemoryNodeModelSupport A specialized version of theNodeModelSupport
interface which allows querying anInMemoryNodeModel
.NodeHandler<T> Definition of an interface for accessing the data of a configuration node.NodeKeyResolver<T> Definition of an interface which allows resolving a (property) key for different manipulating operations.NodeMatcher<C> An interface for matching nodes based on specific criteria.NodeModel<T> Definition of an interface describing a model based on a nodes structure.NodeModelSupport<T> An interface to be implemented by objects that support aNodeModel
.ReferenceNodeHandler An extension of theNodeHandler
interface which allows access to so-called references stored for a node. -
Class Summary Class Description AbstractImmutableNodeHandler An abstract base class for aNodeHandler
implementation forImmutableNode
objects.ConfigurationNodeVisitorAdapter<T> A simple adapter class that simplifies writing custom node visitor implementations.DefaultConfigurationKey A simple class that supports creation of and iteration on configuration keys supported by aDefaultExpressionEngine
object.DefaultExpressionEngine A default implementation of theExpressionEngine
interface providing the "native" expression language for hierarchical configurations.DefaultExpressionEngineSymbols A class representing the various symbols that are supported in keys recognized byDefaultExpressionEngine
.DefaultExpressionEngineSymbols.Builder A builder class for creating instances ofDefaultExpressionEngineSymbols
.ImmutableNode An immutable default implementation for configuration nodes.ImmutableNode.Builder A builder class for creating instances ofImmutableNode
.InMemoryNodeModel A specialized node model implementation which operates onImmutableNode
structures.MergeCombiner A specialized implementation of theNodeCombiner
interface that performs a merge from two passed in node hierarchies.ModelTransaction An internal helper class for a atomic updates of anInMemoryNodeModel
.ModelTransaction.AddAttributeOperation A specialized operation class for adding an attribute to a target node.ModelTransaction.AddAttributesOperation A specialized operation class for adding multiple attributes to a target node.ModelTransaction.ChangeNodeNameOperation A specialized operation class which changes the name of a node.ModelTransaction.ChangeNodeValueOperation A specialized operation class which changes the value of a node.ModelTransaction.Operation An abstract base class representing an operation to be performed on a node.ModelTransaction.RemoveAttributeOperation A specialized operation class for removing an attribute from a target node.NodeAddData<T> A simple data class used byExpressionEngine
to store the results of theprepareAdd()
operation.NodeCombiner A base class for node combiner implementations.NodeHandlerDecorator<T> An abstract base class for decorators of aNodeHandler
.NodeSelector A class for selecting a specific node based on a key or a set of keys.NodeTracker A class which can track specific nodes in anInMemoryNodeModel
.NodeTracker.TrackedNodeData A simple data class holding information about a tracked node.NodeTreeWalker A class providing different algorithms for traversing a hierarchy of configuration nodes.NodeUpdateData<T> A simple data class used by node models to store parameters of an update operation.OverrideCombiner A concrete combiner implementation that is able to construct an override combination.QueryResult<T> A data class representing a single query result produced by anExpressionEngine
.ReferenceTracker A class which allows anInMemoryNodeModel
to associate arbitrary objects with nodes.TrackedNodeHandler A specialNodeHandler
implementation for tracked nodes.TrackedNodeModel A specializedNodeModel
implementation that uses a tracked node managed by anInMemoryNodeModel
object as root node.TreeData An internally used helper class for storing information about the managed node structure.TreeUtils Utility methods.UnionCombiner A specialized implementation of theNodeCombiner
interface that constructs a union from two passed in node hierarchies. -
Enum Summary Enum Description NodeNameMatchers An enumeration class with several pre-definedNodeMatcher
implementations based on node names.