Examples of BindingModel


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

    }
    return bindings;
  }

  private BindingModel parseBinding(Element element) {
    return new BindingModel(element.getAttribute("property"), element.getAttribute("converter"), element
        .getAttribute("required"));
  }
View Full Code Here

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

  private BinderConfiguration createBinderConfiguration(BinderModel binderModel) {
    if (binderModel != null && binderModel.getBindings() != null) {
      BinderConfiguration binderConfiguration = new BinderConfiguration();
      List bindings = binderModel.getBindings();
      for (Iterator it = bindings.iterator(); it.hasNext();) {
        BindingModel bindingModel = (BindingModel) it.next();
        boolean required;
        if (StringUtils.hasText(bindingModel.getRequired())) {
          required = ((Boolean) fromStringTo(Boolean.class).execute(bindingModel.getRequired()))
              .booleanValue();
        } else {
          required = false;
        }
        Binding binding = new Binding(bindingModel.getProperty(), bindingModel.getConverter(), required);
        binderConfiguration.addBinding(binding);
      }
      return binderConfiguration;
    } else {
      return null;
View Full Code Here

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

    }
    return bindings;
  }

  private BindingModel parseBinding(Element element) {
    return new BindingModel(element.getAttribute("property"), element.getAttribute("converter"),
        element.getAttribute("required"));
  }
View Full Code Here

Examples of org.switchyard.config.model.composite.BindingModel

        if (_camelLabels == null) {
            List<String> list = new ArrayList<String>();
            list.add(ComponentLabel.CAMEL.label());
            ContextMapperModel cm_model = getModel();
            if (cm_model != null) {
                BindingModel b_model = cm_model.getBindingModel();
                if (b_model != null) {
                    String e_label = EndpointLabel.toLabel(b_model.getType());
                    if (e_label != null) {
                        list.add(e_label);
                    }
                }
            }
View Full Code Here

Examples of org.switchyard.config.model.composite.BindingModel

     * @param desc the Descriptor
     */
    public V1CompositeReferenceModel(Configuration config, Descriptor desc) {
        super(config, desc);
        for (Configuration binding_config : config.getChildrenStartsWith(BindingModel.BINDING)) {
            BindingModel binding = (BindingModel)readModel(binding_config);
            if (binding != null) {
                _bindings.add(binding);
            }
        }
    }
View Full Code Here

Examples of org.switchyard.config.model.composite.BindingModel

     * @param desc the Descriptor
     */
    public V1CompositeServiceModel(Configuration config, Descriptor desc) {
        super(config, desc);
        for (Configuration binding_config : config.getChildrenStartsWith(BindingModel.BINDING)) {
            BindingModel binding = (BindingModel)readModel(binding_config);
            if (binding != null) {
                _bindings.add(binding);
            }
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.