I have added new hierarchical configuration implementations based on the node handler approach.

There is now a new AbstractHierarchicalConfiguration<T> class providing basic functionality for dealing with hierarchical structures.

Derived from that is InMemoryConfiguration, which is almost equivalent to HierarchicalConfiguration. The new SubConfiguration class is the counterpart to SubnodeConfiguration.

I copied the tests from the HierarchicalConfiguration, and they run successful for the new configuration class. There are minor differences in the handling of attributes: I decided not to allow multiple values for an attribute as was possible for HierarchicalConfiguration as part of the list handling functionality. IMO this was rather confusing than helpful. Obviously these differences are not covered by the unit tests.

Next steps are further configuration implementations based on the new classes. I will do some experiments with XMLConfiguration and a new preferences configuration class.

We can decide how to deal with the old classes. We could completely replace them with the new ones or deprecate them only.

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to