Examples of ModelFactory


Examples of org.openhab.binding.tinkerforge.internal.model.ModelFactory

   * <!-- end-user-doc -->
   * @generated NOT
   */
  public void initSubDevices()
  {
    ModelFactory factory = ModelFactory.eINSTANCE;
    for (int i = 0; i < 4; i++) {
      DigitalActorDigitalOut4 out4 = factory.createDigitalActorDigitalOut4();
      out4.setUid(getUid());
      String subId = "out" + String.valueOf(i);
      logger.debug("addSubDevice: {}", subId);
      out4.setSubId(subId);
      out4.setPin(i);
View Full Code Here

Examples of org.sonatype.maven.polyglot.groovy.builder.factory.ModelFactory

        registerFactoriesFor(Reporting.class);
       
        registerFactory(new ExecutionFactory());
        registerFactoriesFor(PluginExecution.class);

        registerFactory(new ModelFactory());
        registerFactoriesFor(Model.class);

        registerChildFactory("dependency", Dependency.class);
        registerChildFactory("exclusion", Exclusion.class);
        registerChildFactory("extension", Extension.class);
View Full Code Here

Examples of org.springframework.web.method.annotation.ModelFactory

      HttpServletResponse response, HandlerMethod handlerMethod) throws Exception {

    ServletWebRequest webRequest = new ServletWebRequest(request, response);

    WebDataBinderFactory binderFactory = getDataBinderFactory(handlerMethod);
    ModelFactory modelFactory = getModelFactory(handlerMethod, binderFactory);
    ServletInvocableHandlerMethod requestMappingMethod = createRequestMappingMethod(handlerMethod, binderFactory);

    ModelAndViewContainer mavContainer = new ModelAndViewContainer();
    mavContainer.addAllAttributes(RequestContextUtils.getInputFlashMap(request));
    modelFactory.initModel(webRequest, mavContainer, requestMappingMethod);
    mavContainer.setIgnoreDefaultModelOnRedirect(this.ignoreDefaultModelOnRedirect);

    AsyncWebRequest asyncWebRequest = WebAsyncUtils.createAsyncWebRequest(request, response);
    asyncWebRequest.setTimeout(this.asyncRequestTimeout);
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.