org.apache.commons.configuration.tree |
A package with helper and utility classes used by hierarchical configurations.
$Id: package.html 439648 2006-09-02 20:42:10Z oheger $
|
Java Source File Name | Type | Comment |
AbstractCombinerTest.java | Class | A base class for testing combiner implementations. |
ConfigurationNode.java | Interface |
Definition of an interface for the nodes of a hierarchical configuration.
This interface defines a tree like structure for configuration data. |
ConfigurationNodeVisitor.java | Interface |
Definition of a Visitor interface for a configuration node
structure.
The ConfigurationNode interface defines a visit() ,
which simplifies traversal of a complex node hierarchy. |
ConfigurationNodeVisitorAdapter.java | Class |
A simple adapter class that simplyfies writing custom node visitor
implementations.
This class provides dummy implementations for the methods defined in the
ConfigurationNodeVisitor interface. |
DefaultConfigurationKey.java | Class |
A simple class that supports creation of and iteration on configuration keys
supported by a
DefaultExpressionEngine object.
For key creation the class works similar to a StringBuffer: There are several
appendXXXX() methods with which single parts of a key can be
constructed. |
DefaultConfigurationNode.java | Class |
A default implementation of the ConfigurationNode interface. |
DefaultExpressionEngine.java | Class |
A default implementation of the ExpressionEngine interface
providing the "native"e; expression language for hierarchical
configurations.
This class implements a rather simple expression language for navigating
through a hierarchy of configuration nodes. |
ExpressionEngine.java | Interface |
Definition of an interface for evaluating keys for hierarchical
configurations.
An expression engine knows how to map a key for a configuration's
property to a single or a set of configuration nodes. |
NodeAddData.java | Class |
A simple data class used by
ExpressionEngine to store
the results of the prepareAdd() operation.
If a new property is to be added to a configuration, the affected
Configuration object must know, where in its hierarchy of
configuration nodes new elements have to be added. |
NodeCombiner.java | Class |
A base class for node combiner implementations.
A node combiner is an object that knows how two hierarchical node
structures can be combined into a single one. |
OverrideCombiner.java | Class |
A concrete combiner implementation that is able to construct an override
combination.
An override combination means that nodes in the first node
structure take precedence over nodes in the second, or - in other words -
nodes of the second structure are only added to the resulting structure if
they do not occure in the first one. |
TestDefaultConfigurationKey.java | Class | Test class for DefaultConfigurationKey. |
TestDefaultConfigurationNode.java | Class | Test class for DefaultConfigurationNode. |
TestDefaultExpressionEngine.java | Class | Test class for DefaultExpressionEngine. |
TestNodeAddData.java | Class | Test class for NodeAddData. |
TestOverrideCombiner.java | Class | Test class for OverrideCombiner. |
TestUnionCombiner.java | Class | Test class for UnionCombiner. |
TestViewNode.java | Class | Test class for ViewNode. |
UnionCombiner.java | Class |
A specialized implementation of the NodeCombiner interface
that constructs a union from two passed in node hierarchies.
The given source hierarchies are traversed and their nodes are added to the
resulting structure. |
ViewNode.java | Class |
A specialized node implementation to be used in view configurations.
Some configurations provide a logical view on the nodes of other
configurations. |