Package org.springframework.roo.support.util

Examples of org.springframework.roo.support.util.XmlElementBuilder


            if (XmlUtils.findFirstElement("/beans/view-controller[@path='"
                    + prefixedUrl + "']", document.getDocumentElement()) == null) {
                final Element sibling = XmlUtils
                        .findFirstElement("/beans/view-controller",
                                document.getDocumentElement());
                final Element view = new XmlElementBuilder(
                        "mvc:view-controller", document).addAttribute("path",
                        prefixedUrl).build();
                if (sibling != null) {
                    sibling.getParentNode().insertBefore(view, sibling);
                }
View Full Code Here


                gwtProjectNatureElement = element;
                break;
            }
        }
        if (gwtProjectNatureElement == null) {
            gwtProjectNatureElement = new XmlElementBuilder("projectnature",
                    document).setText(GWT_PROJECT_NATURE).build();
            additionalProjectNaturesElement
                    .appendChild(gwtProjectNatureElement);
        }
View Full Code Here

TOP

Related Classes of org.springframework.roo.support.util.XmlElementBuilder

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.