Package org.jitterbit.xml

Examples of org.jitterbit.xml.RootNodeExtractor


        // Does nothing
    }

    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

Related Classes of org.jitterbit.xml.RootNodeExtractor

Copyright © 2018 www.massapicom. 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.