Package org.jitterbit.util.xml.sax

Examples of org.jitterbit.util.xml.sax.DefaultKongaSaxParser.load()


    public ParsedInputXml parse(File inputXml) throws PipelinePluginException {
        try {
            DefaultKongaSaxParser saxParser = new DefaultKongaSaxParser();
            ElementHandlers handlers = new ElementHandlers(getPluginSpecificationVersion(), warnings);
            handlers.configure(saxParser);
            saxParser.load(inputXml);
            return handlers.getParsedData();
        } catch (KongaSaxParserException ex) {
            throw new PipelinePluginException("Failed to parse input.xml", ex);
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.