01: package org.columba.core.facade;
02:
03: import org.columba.core.config.Config;
04: import org.columba.core.xml.XmlElement;
05:
06: public class ConfigFacade {
07:
08: /**
09: * @param configName
10: * id of config-file example: options
11: *
12: * @return XmlElement represents an xml-treenode
13: */
14: public static XmlElement getConfigElement(String configName) {
15: XmlElement root = Config.getInstance().get(configName);
16:
17: return root;
18: }
19: }
|