Package de.mhus.lib.config

Examples of de.mhus.lib.config.ConfigBuilder


    derTeschd(c, true);
  }
 
  public void testClone() throws Exception {
   
    ConfigBuilder builder = new ConfigBuilder();
   
    String xml = "<start test1='wow' test2='alf'><sub test1='wow1' test2='alf1'/><sub test1='wow2' test2='alf2'/><sub test1='wow3' test2='alf3'/></start>";
    Document doc = MXml.loadXml(xml);
   
    XmlConfig src = new XmlConfig(doc.getDocumentElement());

    HashConfig tar1 = new HashConfig();
    JsonConfig tar2 = new JsonConfig();
    XmlConfig  tar3 = new XmlConfig();
   
    builder.cloneConfig(src, tar1);
    builder.cloneConfig(src, tar2);
    builder.cloneConfig(src, tar3);
   
    derTeschd(src, true);
    derTeschd(tar1, true);
    derTeschd(tar2, true);
    derTeschd(tar3, true);
View Full Code Here

TOP

Related Classes of de.mhus.lib.config.ConfigBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.