Package org.springframework.roo.addon.tailor.actions

Examples of org.springframework.roo.addon.tailor.actions.ActionConfig


                // Determine the action type
                if (StringUtils.isBlank(elAction.getAttribute("type"))) {
                    logTailorXMLInvalid("found <action> without type attribute");
                    return null;
                }
                final ActionConfig newAction = new ActionConfig(
                        elAction.getAttribute("type"));
                final NamedNodeMap attributes = elAction.getAttributes();
                for (int i = 0; i < attributes.getLength(); i++) {
                    final Node item = attributes.item(i);
                    final String attributeKey = item.getNodeName();
                    if (!"type".equals(attributeKey)) {
                        newAction.setAttribute(attributeKey,
                                item.getNodeValue());
                    }
                }
                newCmdConfig.addAction(newAction);
            }
View Full Code Here

TOP

Related Classes of org.springframework.roo.addon.tailor.actions.ActionConfig

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.