Package org.openquark.util.xml

Examples of org.openquark.util.xml.BadXMLDocumentException


        XMLPersistenceHelper.checkTag(element, GemPersistenceConstants.GEM_TAG);
       
        // Add to the context, if an id attribute is present (otherwise, it's in the old save format..).
        String gemId = element.getAttribute(GemPersistenceConstants.GEM_ID_ATTR);
        if (gemId.equals("")) {
            throw new BadXMLDocumentException(element, "Missing gem id.");
        }
        gemContext.addGem(this, gemId);

        // Create inputs if any.
        Element childNode = XMLPersistenceHelper.getChildElement(element, GemPersistenceConstants.INPUTS_TAG);
View Full Code Here

TOP

Related Classes of org.openquark.util.xml.BadXMLDocumentException

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.