Examples of bind()


Examples of org.springframework.web.bind.support.WebRequestDataBinder.bind()

  protected void doBind(NativeWebRequest webRequest, WebDataBinder binder, boolean failOnErrors)
      throws Exception {

    WebRequestDataBinder requestBinder = (WebRequestDataBinder) binder;
    requestBinder.bind(webRequest);
    if (failOnErrors) {
      requestBinder.closeNoCatch();
    }
  }
View Full Code Here

Examples of org.springframework.web.portlet.bind.PortletRequestDataBinder.bind()

    if (isBindOnNewForm()) {
      if (logger.isDebugEnabled()) {
        logger.debug("Binding to new form");
      }
      binder.bind(request);
      onBindOnNewForm(request, command, errors);
    }
   
    // Return BindException object that resulted from binding.
    return errors;
View Full Code Here

Examples of org.ufacekit.ui.beanform.BeanForm.bind()

                Exchange exchange = (Exchange) object;
                return exchange.getIn().getHeaders().toString();
            }
        }));

        selectionForm.bind(tree.getSelectionObservable());
    }

    protected UITable createEndpointTableUI(UIComposite root) {
        BeanForm form = new BeanForm();
View Full Code Here

Examples of org.vaadin.teemu.clara.binder.Binder.bind()

        }
        Component result = inflater.inflate(xml,
                binder.getAlreadyAssignedFields(controller));

        // Bind to controller.
        binder.bind(result, controller);
        return result;
    }

    /**
     * Returns a {@link Component} that is read from an XML file in the
View Full Code Here

Examples of org.x2jb.bind.spi.handler.AttributeHandler.bind()

        else
        {
            handler = ( AttributeHandler ) HandlersRepository.getUserHandler( bean, true );
        }

        return handler.bind( value, clazz );
    }

    /**
     * Returns default value associated with the missing XML node.
     *
 
View Full Code Here

Examples of org.x2jb.bind.spi.handler.ElementHandler.bind()

        else
        {
            handler = ( ElementHandler ) HandlersRepository.getUserHandler( bean, true );
        }

        return handler.bind( value, clazz );
    }

    /**
     * Binds XML element array to object array.
     *
 
View Full Code Here

Examples of org.xmlmatchers.namespace.SimpleNamespaceContext.bind()

    XmlFilterReader filterReader = new NoopXmlFilterReader( inputReader, null );
    String outputHtml = new String( IOUtils.toCharArray( filterReader ) );

    //System.out.println( outputHtml );
    SimpleNamespaceContext ns = new SimpleNamespaceContext();
    ns.bind( "ns", "http://hortonworks.com/xml/ns" );
    assertThat( the( outputHtml ), hasXPath( "/ns:root", ns ) );
  }

  @Test
  public void testSimpleTextNode() throws IOException, ParserConfigurationException, XMLStreamException {
View Full Code Here

Examples of org.zanata.webtrans.client.presenter.AppPresenter.bind()

    private void delayedStartApp() {
        final AppPresenter appPresenter = injector.getAppPresenter();
        final DocumentListPresenter documentListPresenter =
                injector.getDocumentListPresenter();
        RootPanel.get(CONTENT_DIV_ID).add(appPresenter.getDisplay().asWidget());
        appPresenter.bind();
        Window.enableScrolling(true);
        // eager load document list
        final EventBus eventBus = injector.getEventBus();

        GetDocumentList action =
View Full Code Here

Examples of org.zeromq.ZMQ.Socket.bind()

  public void listen() {
    listeningThread = new Thread(new Runnable() {
      @Override
      public void run() {
        final Socket socket = ZMQ.getSocket(org.zeromq.ZMQ.PULL);
        socket.bind(zmqUrl);
        while (true) {
          try {
            final ByteBuffer[] msg = getRequest(socket);
           
            if (msg[0] != null) {
View Full Code Here

Examples of play.data.binding.BeanWrapper.bind()

            if(paramNode.getChild(name) == null) {
                return null;
            }
      // v1.1 compliant

            bw.bind(name, (Type)o.getClass(), params, "", o, o.getClass().getAnnotations());
     
      return (T) o;
    } catch (Exception e) {
      throw new UnexpectedException(e);
    }
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.