Examples of create()


Examples of org.apache.maven.archiva.plugins.dev.testgen.DependencyGraphTestCreator.create()

        creator.setLocalRepository( localRepository );
        creator.setDependencyTreeBuilder( dependencyTreeBuilder );
        creator.setArtifactMetadataSource( artifactMetadataSource );
        creator.setCollector( collector );
       
        creator.create( classPrefix );
    }

    private void createMemoryRepository( String classPrefix ) throws MojoExecutionException
    {
        MemoryRepositoryCreator creator = new MemoryRepositoryCreator();

Examples of org.apache.maven.archiva.plugins.dev.testgen.MemoryRepositoryCreator.create()

        creator.setOutputDir( destDir );
        creator.setProject( project );
        creator.setArtifactFactory( artifactFactory );
        creator.setLocalRepository( localRepository );
       
        creator.create( classPrefix );
    }
}

Examples of org.apache.maven.scm.provider.integrity.Sandbox.create()

            {
                siSandbox = iRepo.getSandbox();
            }
            getLogger().info( "Sandbox location is " + siSandbox.getSandboxDir() );
            // Now attempt to create the sandbox, if it doesn't already exist
            if ( siSandbox.create() )
            {
                // Resynchronize the new or previously created sandbox
                Response res = siSandbox.resync();
                // Lets output what we got from running this command
                WorkItemIterator wit = res.getWorkItems();

Examples of org.apache.metamodel.data.StyleBuilder.create()

        case CellStyle.ALIGN_JUSTIFY:
            styleBuilder.justifyAligned();
            break;
        }

        return styleBuilder.create();
    }

    public static Iterator<Row> getRowIterator(Sheet sheet, ExcelConfiguration configuration, boolean jumpToDataRows) {
        final Iterator<Row> iterator;
        if (configuration.isSkipEmptyLines()) {

Examples of org.apache.muse.core.descriptor.SerializerDefinition.create()

           
            while (i.hasNext())
            {
                SerializerDefinition next = (SerializerDefinition)i.next();
               
                Serializer ser = next.create();
                Class type = ser.getSerializableType();
               
                Class arrayType = ReflectUtils.getArrayClassFromClass(type);
                Serializer arraySer = new ArraySerializer(arrayType, ser);
               

Examples of org.apache.myfaces.extensions.validator.core.metadata.extractor.DefaultComponentMetaDataExtractorFactory.create()

    @Test
    public void testCustomComponentMetaDataExtractorClassNameCustomConfig()
    {
        DefaultComponentMetaDataExtractorFactory factory = new DefaultComponentMetaDataExtractorFactory();
        MetaDataExtractor extractor = factory.create();
        PropertyInformation propInformation = extractor.extract(facesContext, new Object());
        Assert.assertEquals(CUSTOM_CONFIG, propInformation.getInformation(PropertyInformationKeys.CUSTOM_PROPERTIES));
    }

Examples of org.apache.myfaces.extensions.validator.core.validation.parameter.DefaultValidationParameterExtractorFactory.create()

    @Test
    public void testCustomValidationParameterExtractorClassNameDefault()
    {
        ValidationParameterExtractorFactory factory = new DefaultValidationParameterExtractorFactory();
        Assert.assertEquals(DefaultValidationParameterExtractor.class.getName(), factory.create().getClass().getName());

    }

    @Test
    public void testCustomValidationParameterExtractorClassNameWebXml()

Examples of org.apache.myfaces.extensions.validator.core.validation.parameter.ValidationParameterExtractorFactory.create()

    @Test
    public void testCustomValidationParameterExtractorClassNameDefault()
    {
        ValidationParameterExtractorFactory factory = new DefaultValidationParameterExtractorFactory();
        Assert.assertEquals(DefaultValidationParameterExtractor.class.getName(), factory.create().getClass().getName());

    }

    @Test
    public void testCustomValidationParameterExtractorClassNameWebXml()

Examples of org.apache.myfaces.extensions.validator.core.validation.strategy.DefaultValidationStrategyFactory.create()

    @Test
    public void testCustomStaticValidationStrategyMappingSourceDefault()
    {
        DefaultValidationStrategyFactory validationStrategyFactory = new DefaultValidationStrategyFactory();
        // Something that isn't available, so should return null.
        Assert.assertNull(validationStrategyFactory.create("UnitTest"));
    }

    @Test
    public void testCustomStaticValidationStrategyMappingSourceWebXml()
    {

Examples of org.apache.ojb.odmg.oql.EnhancedOQLQuery.create()

            // get from the database via OQLQuery Iterator
            tx = _kit.getTransaction(_conn);
            _conn.invalidate(oid);
            tx.begin();
            oql = _conn.newOQLQuery();
            oql.create("select a from " + Article.class.getName()
                + " where articleId=$1 and articleName=$2");
            oql.bind(new Integer(77777));
            oql.bind("335");
            it = _conn.getIteratorByOQLQuery(oql);
            if (it.hasNext())
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.