Examples of create()


Examples of com.volantis.xml.sax.VolantisXMLReaderFactory.create()

        final DocumentValidator validator =
                factory.createDocumentValidator(getCompiledSchema());

        VolantisXMLReaderFactory readerFactory = new VolantisXMLReaderFactory();
        readerFactory.disableValidation();
        XMLReader reader = readerFactory.create();

        XMLFilter filter;


        filter = createFilter();

Examples of com.zesped.model.Invoices.create()

        String sTaxPayerId = rcpt.type().name().equals("TaxPayer") ? getRecipientTaxPayer() : getSessionAttribute("taxpayer_docid");
        TaxPayer txpy = new TaxPayer(getSession().getDms(), sTaxPayerId);

        Invoices invs = txpy.invoices(getSession());
       
        invc = invs.create(getSession(), getSessionAttribute("user_uuid"), getServiceFlavor(),
                   sTaxPayerId, getBillerTaxPayer(), getRecipientTaxPayer());
        capureddocid = invc.id();
       
        for (FileBean attachment : getItems()) {
          if (attachment != null) {

Examples of com.zesped.model.User.create()

      User oUsr = new User();
      oUsr.setEmail(TEST_USER_EMAIL);
      oUsr.setFirstName("Default Test User First Name");
      oUsr.setLastName("Default Test User Last Name");
      oUsr.setPassword("12345678");
      oUsr.create(oSes);
      USRID = oUsr.id();
    }
    try {
      ACCID = CustomerAccount.forBusinessName(TEST_BUSINESSNAME);
    } catch (ElementNotFoundException notfound) {   

Examples of commonj.sdo.helper.DataFactory.create()

      commentary("Now we can create an instance of the type using the DataFactory associated with the type scope\n\n"+
          "DataFactory factory = scope.getDataFactory();\n"+
          "DataObject customer1 = factory.create(\"http://example.com/customer\", \"Customer\");");

      DataFactory factory = scope.getDataFactory();
      DataObject customer1 = factory.create("http://example.com/customer", "Customer");
      customer1.setInt("custNum", 1);
      customer1.set("firstName", "John");
      customer1.set("lastName", "Adams");

      commentary("Here's an XML String representing a DataObject we have created with the new type");

Examples of converter.ConverterHome.create()

            Object objref = myEnv.lookup("ejb/SimpleConverter");

            ConverterHome home = (ConverterHome) PortableRemoteObject.narrow(objref,
                    ConverterHome.class);

            Converter currencyConverter = home.create();

            BigDecimal param = new BigDecimal("100.00");
            BigDecimal amount = currencyConverter.dollarToYen(param);

            System.out.println(amount);

Examples of crud.CRUD.create()

    public void testStart() throws Exception {
        ServiceReference<CRUD> serviceReference = domain.getServiceReference(CRUD.class, "CRUDServiceComponent");
        assertNotNull(serviceReference);
        CRUD service = serviceReference.getService();
        String id = service.create("ABC");
        Object result = service.retrieve(id);
        assertEquals("ABC", result);
        service.update(id, "EFG");
        result = service.retrieve(id);
        assertEquals("EFG", result);

Examples of cucumber.runtime.RuntimeOptionsFactory.create()

        }

        final RuntimeOptions runtimeOptions;
        if (clazz.getAnnotation(Cucumber.Options.class) != null || clazz.getAnnotation(CucumberOptions.class) != null) { // by class setting
            final RuntimeOptionsFactory runtimeOptionsFactory = new RuntimeOptionsFactory(clazz, OPTIONS_ANNOTATIONS);
            runtimeOptions = runtimeOptionsFactory.create();
            cleanClasspathList(runtimeOptions.getGlue());
            cleanClasspathList(runtimeOptions.getFeaturePaths());
        } else if (cukespaceConfig.containsKey(CucumberConfiguration.OPTIONS)) { // arquillian setting
            runtimeOptions = new RuntimeOptions(new Env("cucumber-jvm"), asList((cukespaceConfig.getProperty(CucumberConfiguration.OPTIONS, "--strict") + " --strict").split(" ")));
        } else { // default

Examples of cz.muni.fi.pa165.ddtroops.serviceinterfaces.RaceService.create()

            SkillService ss = new SkillServiceImpl(url+"skill/");
            RaceService rs = new RaceServiceImpl(url+"race/");           
            switch(jc.getParsedCommand())
            {
                case "createrace":
                    rs.create(
                            rs.createNewRace(
                                createRace.getName(),
                                createRace.getDescription(),
                                createRace.getStrength(),
                                createRace.getDexterity(),

Examples of cz.muni.fi.pa165.ddtroops.serviceinterfaces.SkillService.create()

                                updateRace.getCharisma());
                    r.id = updateRace.getId();
                    rs.update(r);
                    break;
                case "createskill":
                    ss.create(
                            ss.createNewSkill(
                                createSkill.getName(),
                                createSkill.getDescription(),
                                createSkill.getProfession(),
                                createSkill.getMinXP()));

Examples of cz.muni.fi.pa165.ddtroopsconsole.service.RaceServiceImpl.create()

            SkillService ss = new SkillServiceImpl(url+"skill/");
            RaceService rs = new RaceServiceImpl(url+"race/");           
            switch(jc.getParsedCommand())
            {
                case "createrace":
                    rs.create(
                            rs.createNewRace(
                                createRace.getName(),
                                createRace.getDescription(),
                                createRace.getStrength(),
                                createRace.getDexterity(),
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.