Examples of extractRoot()


Examples of org.jitterbit.xml.RootNodeExtractor.extractRoot()

    }

    private ExpandedName getRootNameFromFile(File file) throws InvalidRootException {
        try {
            RootNodeExtractor extractor = RootNodeExtractor.getSaxExtractor();
            Element root = extractor.extractRoot(file);
            XmlNameFactory nameFactory = XmlNameFactory.conforming();
            return nameFactory.newExpandedName(root);
        } catch (KongaXmlException ex) {
            throw new InvalidRootException(ex.getMessage(), ex);
        } catch (RuntimeException 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.