use of org.walkmod.conf.entities.ParserConfig in project walkmod-core by walkmod.
the class XMLConfigurationProvider method loadParserConfig.
public void loadParserConfig(Element element, WalkerConfig wc) {
final String nodeName = element.getNodeName();
if ("parser".equals(nodeName)) {
ParserConfig pc = new ParserConfigImpl();
if ("".equals(element.getAttribute("type"))) {
pc.setType(null);
} else {
pc.setType(element.getAttribute("type"));
}
pc.setParameters(getParams(element));
}
}
Aggregations