Examples of addType()


Examples of org.ontoware.rdfreactor.generator.java.JProperty.addType()

                        jprop.setComment(rp.getAllComment_asList().get(0));
                       
                        for(Class range : rp.getAllRange_asList()) {
                            if(owlClasses.contains(range
                                    .castTo(org.ontoware.rdfreactor.schema.owl.OwlClass.class)))
                                jprop.addType(jm.getMapping(range.getResource()));
                        }
                        jprop.fixRanges(jm);
                       
                        // figure out cardinality
                       

Examples of org.openxri.xml.Service.addType()

        assertTrue("Initial cache not empty", oCache.getNumNodes() == 0);

        XRD oDesc = new XRD();
        Service atAuthService = new Service();
        atAuthService.addMediaType(Tags.CONTENT_TYPE_XRDS + ";trust=none");
        atAuthService.addType(Tags.SERVICE_AUTH_RES);
        atAuthService.addURI("http://gcs.epok.net/xri/resolve?ns=at");
        oDesc.addService(atAuthService);

        XRD oDummy = new XRD();
        Service dummyService = new Service();

Examples of org.springsource.loaded.TypeRegistry.addType()

    checkDoesNotContain(typeDescriptor, "privateMethod");
    checkDoesContain(typeDescriptor, "0x1 publicMethod");
    checkDoesContain(typeDescriptor, "0x1 protectedMethod");
    checkDoesContain(typeDescriptor, "0x1 defaultMethod");

    ReloadableType rtype = typeRegistry.addType("catchers.B", loadBytesForClass("catchers.B"));

    reload(rtype, "2");
  }
 
  /**
 

Examples of org.switchyard.common.type.classpath.IsAnnotationPresentFilter.addType()

        String componentName = service.componentName();
        return Service.EMPTY.equals(componentName) ? serviceName : componentName;
    }
    private List<Class<?>> scanForServiceBeans(ScannerInput<SwitchYardModel> input) throws IOException {
        IsAnnotationPresentFilter annoFilter = new IsAnnotationPresentFilter(Service.class);
        annoFilter.addType(Reference.class);
        PackageFilter pkgFilter = new PackageFilter(input.getIncludePackages().toArray(new Package[0]));
        for (Package pkg : input.getExcludePackages()) {
            pkgFilter.addExclude(pkg);
        }
        CompositeFilter filter = new CompositeFilter(annoFilter, pkgFilter);

Examples of rocket.generator.rebind.GeneratorContext.addType()

    final NewAnonymousNestedTypeImpl type = new NewAnonymousNestedTypeImpl();
    final GeneratorContext context = this.getGeneratorContext();
    type.setGeneratorContext(context);
    type.setEnclosingType(type);
    type.setSuperType(context.getObject());
    context.addType(type);
    return type;
  }

  /**
   * Generated types are concrete, only primitives have wrappers.
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.