use of org.apache.commons.digester3.binder.DigesterLoader in project ocvn by devgateway.
the class XMLFileImport method process.
@Async
public void process(final InputStream inputStream) throws IOException, SAXException {
DigesterLoader digesterLoader = DigesterLoader.newLoader(getAbstractRulesModule());
Digester digester = digesterLoader.newDigester();
// Push this object onto Digester's stack to handle object save operation (call saveRelease method)
digester.push(this);
digester.parse(inputStream);
}
Aggregations