Examples of type()


Examples of com.sun.xml.bind.v2.schemagen.xmlschema.LocalElement.type()

        LocalElement le = null;;
        QName type = model.getBindingContext().getTypeName(typeInfo);
        if (type != null) {
            le = sq.element();
            le._attribute("name", name.getLocalPart());
            le.type(type);
        } else {
            if (typeInfo.type instanceof Class) {
                try {
                    QName elemName = model.getBindingContext().getElementName((Class)typeInfo.type);
                    if (elemName.getLocalPart().equals("any") && elemName.getNamespaceURI().equals(XsdNs)) {
View Full Code Here

Examples of com.sun.xml.internal.bind.v2.schemagen.xmlschema.LocalElement.type()

         */
        private void writeArray(ArrayInfo<T, C> a, Schema schema) {
            ComplexType ct = schema.complexType().name(a.getTypeName().getLocalPart());
            ct._final("#all");
            LocalElement le = ct.sequence().element().name("item");
            le.type(a.getItemType().getTypeName());
            le.minOccurs(0).maxOccurs("unbounded");
            le.nillable(true);
            ct.commit();
        }

View Full Code Here

Examples of com.sun.xml.internal.ws.wsdl.writer.document.Binding.type()

     * Generates the Binding section of the WSDL
     */
    protected void generateBinding() {
        Binding binding = serviceDefinitions.binding().name(model.getBoundPortTypeName().getLocalPart());
        extension.addBindingExtension(binding);
        binding.type(model.getPortTypeName());
        boolean first = true;
        for (JavaMethodImpl method : model.getJavaMethods()) {
            if (first) {
                SOAPBinding sBinding = method.getBinding();
                SOAPVersion soapVersion = sBinding.getSOAPVersion();
View Full Code Here

Examples of com.sun.xml.ws.wsdl.writer.document.Binding.type()

     * Generates the Binding section of the WSDL
     */
    protected void generateBinding() {
        Binding newBinding = serviceDefinitions.binding().name(model.getBoundPortTypeName().getLocalPart());
        extension.addBindingExtension(newBinding);
        newBinding.type(model.getPortTypeName());
        boolean first = true;
        for (JavaMethodImpl method : model.getJavaMethods()) {
            if (first) {
                SOAPBinding sBinding = method.getBinding();
                SOAPVersion soapVersion = sBinding.getSOAPVersion();
View Full Code Here

Examples of com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField.type()

    List<Object[]> annotationList = Lists.newArrayList();
    // Get annotation field
    Field[] fs = cls.getDeclaredFields();
    for (Field f : fs){
      ExcelField ef = f.getAnnotation(ExcelField.class);
      if (ef != null && (ef.type()==0 || ef.type()==2)){
        if (groups!=null && groups.length>0){
          boolean inGroup = false;
          for (int g : groups){
            if (inGroup){
              break;
View Full Code Here

Examples of com.thoughtworks.selenium.DefaultSelenium.type()

        String serverUrl = System.getProperty( "serverUrl", "http://localhost:9090/" );
       
        DefaultSelenium s = new DefaultSelenium( "localhost", seleniumPort, browser, serverUrl );
        s.start(  );
        s.open( "index.html" );
        s.type( "who", "foo" );
        s.click( "send-btn" );
        // wait a bit ajax response
        Thread.sleep( 1000 );
        String text = s.getText( "response" );
        assertEquals( "Hello foo", text );
View Full Code Here

Examples of com.thoughtworks.selenium.Selenium.type()

        assertFalse(isMessageTextPresent(messageText));

        selenium.click(validateButtonLocator);

        assertFalse(isMessageTextPresent(messageText));
        selenium.type(validatorFieldLocator, "asd12313");

        selenium.click(validateButtonLocator);
        assertTrue(isMessageTextPresent(messageText));
        selenium.type(validatorFieldLocator, "123");
View Full Code Here

Examples of com.voyagegames.core.json.JsonValue.type()

    assertTrue(obj.values.size() == 1);
   
    final JsonValue v = obj.values.get(JsonParser.ARRAY_RESULT);
   
    assertTrue(v != null);
    assertTrue(v.type() == JsonValueType.ARRAY);
    assertTrue(v.arrayValue().size() == 2);
    assertTrue(v.arrayValue().get(0).type() == JsonValueType.OBJECT);
    assertTrue(v.arrayValue().get(1).type() == JsonValueType.OBJECT);
  }
View Full Code Here

Examples of crate.elasticsearch.action.import_.ImportRequest.type()

                        importRequest.source(querySource, false);
                    }
                }
            }
            importRequest.index(request.param("index"));
            importRequest.type(request.param("type"));
        } catch (Exception e) {
            try {
                XContentBuilder builder = RestXContentBuilder.restContentBuilder(request);
                channel.sendResponse(new XContentRestResponse(request, BAD_REQUEST, builder.startObject().field("error", e.getMessage()).endObject()));
            } catch (IOException e1) {
View Full Code Here

Examples of de.danet.an.workflow.api.FormalParameter.type()

                    binding.setAttribute
                        ("nodeset", "ActualParameter[@name='" + fp.id() + "']");
                    if (fp.mode() == FormalParameter.Mode.IN) {
                        binding.setAttribute ("readonly", "true()");
                    }
                    if (fp.type().equals(Date.class)) {
                        binding.setAttribute ("type", "date");
                    }
                    binds.appendChild(binding);
                }
            } catch (ParserConfigurationException 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.