|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.util.ConfigurationUtil
public class ConfigurationUtil
This class is an improved version of the Excalibur ConfigurationUtil class to support namespaces in DOMs.
Method Summary | |
---|---|
static Configuration |
toConfiguration(Element element)
Convert a DOM Element tree into a configuration tree. |
static Element |
toElement(Configuration configuration)
Convert a configuration tree into a DOM Element tree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Configuration toConfiguration(Element element)
element
- the DOM Element
public static Element toElement(Configuration configuration) throws ConfigurationException
configuration
- the configuration object
ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |