Examples of bind()


Examples of com.sun.msv.relaxns.verifier.SchemaProviderImpl.bind()

       
        if(!reader.controller.hadError()) {
            // abort further wrap up if there was an error.
           
            // then bind it as the final wrap-up.
            if( !schemaProvider.bind(reader.controller) )
                reader.controller.setErrorFlag();
       
            // also bind top-level expression
            if( reader.grammar.topLevel!=null )
                // this 'if' clause is necessary when
View Full Code Here

Examples of com.sun.net.httpserver.HttpServer.bind()

            }
        };
        server.createContext("/exit", new ExitHandler(c));

        // Bind and start server
        server.bind(new InetSocketAddress(Config.getPort()), 0);
        server.start();
    }

    public static void main(String[] args) throws Exception {
        initMetricsPublishing();
View Full Code Here

Examples of com.sun.nio.sctp.SctpServerChannel.bind()

                // Open a channel.
                ch = com.sun.nio.sctp.SctpServerChannel.open();

                // Configure the channel
                try {
                    ch.bind(new InetSocketAddress(0));
                    ch.configureBlocking(false);
                } catch (Throwable e) {
                    if (logger.isWarnEnabled()) {
                        logger.warn("Failed to configure a temporary socket.", e);
                    }
View Full Code Here

Examples of com.sun.opengl.util.texture.Texture.bind()

            blendvalue = 0;
          }
          else {
            gl.glColor4f(blendvalue, blendvalue, blendvalue, 1.f);
            gl.glEnable(GL.GL_TEXTURE_2D);
            interpolationtextureID.bind();
          }
        }
        else {
          blendvalue = 0;
        }
View Full Code Here

Examples of com.sun.tools.xjc.api.SchemaCompiler.bind()

                schemaCompilerGenCode.parseSchema(bindingFile);
            }
        }
        rawJaxbModel = schemaCompiler.bind();
        if (env.isExcludeNamespaceEnabled()) {
            rawJaxbModelGenCode = schemaCompilerGenCode.bind();
        } else {
            rawJaxbModelGenCode = rawJaxbModel;
        }
    }
View Full Code Here

Examples of com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind()

                throw new ToolException(msg, e);
            }
        }

        rawJaxbModelGenCode = schemaCompiler.bind();

        addedEnumClassToCollector(schemaLists, allocator);

        if (context.get(ToolConstants.CFG_DEFAULT_VALUES) != null) {
            String cname = (String)context.get(ToolConstants.CFG_DEFAULT_VALUES);
View Full Code Here

Examples of com.totsp.gwittir.client.beans.Binding.bind()

                }
            }));
        images.getChildren()
              .add(new Binding(title, "value", search, "title"));
        images.setLeft();
        images.bind();

        SoftScrollArea mmsa = new SoftScrollArea();
        mmsa.addMouseListener(mmsa.MOUSE_MOVE_SCROLL_LISTENER);
        mmsa.setHeight("190px");
        mmsa.setWidth("800px");
View Full Code Here

Examples of com.turn.ttorrent.client.peer.SharingPeer.bind()

          channel.close();
          return;
        }

        peer.register(this);
        peer.bind(channel);
      }

      this.connected.put(peer.getHexPeerId(), peer);
      peer.register(this.torrent);
      logger.debug("New peer connection with {} [{}/{}].",
View Full Code Here

Examples of com.unboundid.ldap.sdk.LDAPConnection.bind()

        }
      }

      if (StringUtils.isEmpty(bindUserName) && StringUtils.isEmpty(bindPassword)) {
        // anonymous bind
        conn.bind(new SimpleBindRequest());
      } else {
        // authenticated bind
        conn.bind(new SimpleBindRequest(bindUserName, bindPassword));
      }
View Full Code Here

Examples of com.vaadin.data.fieldgroup.FieldGroup.bind()

        final FieldGroup binder = new FieldGroup(item);
        binder.setBuffered(false);

        for (int i = 0; i < 2; ++i) {
            binder.bind(nameField, "name");
            binder.bind(ageField, "age");
            unboundField.setPropertyDataSource(unboundProp);

            assertTrue("No listeners in Properties", fieldsHaveListeners(true));
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.