Package org.springframework.webflow.engine.model

Examples of org.springframework.webflow.engine.model.AbstractActionModel


  private Action[] parseActions(List actionModels) {
    if (actionModels != null && !actionModels.isEmpty()) {
      List actions = new ArrayList(actionModels.size());
      for (Iterator it = actionModels.iterator(); it.hasNext();) {
        AbstractActionModel actionModel = (AbstractActionModel) it.next();
        Action action;
        if (actionModel instanceof EvaluateModel) {
          action = parseEvaluateAction((EvaluateModel) actionModel);
        } else if (actionModel instanceof RenderModel) {
          action = parseRenderAction((RenderModel) actionModel);
        } else if (actionModel instanceof SetModel) {
          action = parseSetAction((SetModel) actionModel);
        } else {
          action = null;
        }
        if (action != null) {
          AnnotatedAction annotatedAction = new AnnotatedAction(action);
          annotatedAction.getAttributes().putAll(parseMetaAttributes(actionModel.getAttributes()));
          actions.add(annotatedAction);
        }
      }
      return (Action[]) actions.toArray(new Action[actions.size()]);
    } else {
View Full Code Here

TOP

Related Classes of org.springframework.webflow.engine.model.AbstractActionModel

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.