Package net.sourceforge.fo3d.extensions

Examples of net.sourceforge.fo3d.extensions.ExtensionXMLElementHandler


        Element extEl = DOMUtil.getFirstChildElementByTagName(root,
            "extensions");
        if (extEl != null) {
            List childList = DOMUtil.getChildElements(extEl);
            if (childList.size() > 0) {
                ExtensionXMLElementHandler handler;
                String elemName, elemNS;
                for (Iterator it = childList.iterator(); it.hasNext();) {
                    Element ch = (Element) it.next();
                    elemName = ch.getLocalName();
                    handler = extensionXMLHandlers
                        .getExtensionXMLHandler(elemName);
                    if (handler != null) {
                        try {
                            handler.handleElement(ctx, ch, annot);
                        } catch (Throwable t) {
                            // could not handle extension
                            log.warn("Some FO3D Extension XML content will be"
                                    + " ignored. Could not handle XML", t);
                        }
View Full Code Here

TOP

Related Classes of net.sourceforge.fo3d.extensions.ExtensionXMLElementHandler

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.