![JAR search and dependency download from the Maven repository](/logo.png)
com.ktanx.autocoder.parse.xml.XmlConfigParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ktanx-autocoder Show documentation
Show all versions of ktanx-autocoder Show documentation
ktanx-autocoder is a java code generate kit.
The newest version!
package com.ktanx.autocoder.parse.xml;
import com.ktanx.autocoder.config.Configuration;
import com.ktanx.autocoder.parse.ConfigParser;
import com.ktanx.common.spring.ClassPathResource;
import com.ktanx.common.xml.XmlNode;
import com.ktanx.common.xml.XmlParser;
public class XmlConfigParser implements ConfigParser {
private String configName;
public XmlConfigParser(String configFileName) {
this.configName = configFileName;
}
public Configuration parse() {
XmlNode xmlNode = XmlParser.parse(new ClassPathResource(configName + ".xml"), configName + ".properties");
return new XmlConfiguration(xmlNode);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy