Oliver Heger wrote:
I have now made HierarchicalXMLConfiguration fully compatible with XMLConfiugration. All tests for XMLConfiguration now run also with HierarchicalXMLConfiguration.
Well done !
A thing that bothers me a bit is the fact that it is not too trivial to implement all the features of file based configurations (e.g. auto save, constructors) for HierarchicalXMLConfiguration because it cannot inherit from AbstractFileConfiguration. Maybe someone comes up with a more elegant solution?
Maybe we could make it extend AbstractFileConfiguration and have a helper class working with hierarchical configurations to walk the tree. That is how I implemented my TreeConfiguration prototype but I don't know if it would work well with HierarchicalConfiguration.
If noone objects I will now go ahead and make HierarchicalXMLConfiguration the one and only XMLConfiguration we have.
It's ok for me.
Emmanuel Bourg
smime.p7s
Description: S/MIME Cryptographic Signature
