@Test public void testGetXmlUtilsInstance() throws ConfigurationException { YangXmlUtils instance1 = YangXmlUtils.getInstance(); YangXmlUtils instance2 = YangXmlUtils.getInstance(); assertEquals("Duplicate instance", instance1, instance2); }
public static YangXmlUtils getInstance() { if (instance == null) { instance = new YangXmlUtils(); } return instance; }
YangXmlUtils { public static YangXmlUtils getInstance() { if (instance == null) { instance = new YangXmlUtils(); } return instance; } }
YangXmlUtils { public static YangXmlUtils getInstance() { if (instance == null) { instance = new YangXmlUtils(); } return instance; } protected  YangXmlUtils(); }
YangXmlUtils { public static YangXmlUtils getInstance() { if (instance == null) { instance = new YangXmlUtils(); } return instance; } protected  YangXmlUtils(); XMLConfiguration getXmlConfiguration(String file, Map<String, String> values); XMLConfiguration getXmlConfiguration(String file, List<YangElement> elements); List<YangElement> readXmlConfiguration(HierarchicalConfiguration cfg, String path); static YangXmlUtils getInstance(); String getString(XMLConfiguration cfg); XMLConfiguration loadXml(InputStream xmlStream); }
YangXmlUtils { public static YangXmlUtils getInstance() { if (instance == null) { instance = new YangXmlUtils(); } return instance; } protected  YangXmlUtils(); XMLConfiguration getXmlConfiguration(String file, Map<String, String> values); XMLConfiguration getXmlConfiguration(String file, List<YangElement> elements); List<YangElement> readXmlConfiguration(HierarchicalConfiguration cfg, String path); static YangXmlUtils getInstance(); String getString(XMLConfiguration cfg); XMLConfiguration loadXml(InputStream xmlStream); final Logger log; }