org.apache.avalon.framework.configuration
Class ConfigurationUtil
java.lang.Object
org.apache.avalon.framework.configuration.ConfigurationUtil
public class ConfigurationUtil
extends java.lang.Object
This class has a bunch of utility methods to work
with configuration objects.
Version:
- Avalon Development Team
equals
public static boolean equals(Configuration c1,
Configuration c2)
Test to see if two Configuration's can be considered the same. Name, value, attributes
and children are test. The order of children is not taken into consideration
for equality.
c1
- Configuration to testc2
- Configuration to test
- true if the configurations can be considered equals
toElement
public static Element toElement(Configuration configuration)
Convert a configuration tree into a DOM Element tree.
configuration
- the configuration object
- the DOM Element
"Copyright B) 2001 Apache Jakarta Project. All Rights Reserved."