Examples of SourceProvider


Examples of org.apache.torque.generator.source.SourceProvider

        Fileset sourceFileset = new Fileset();
        Set<String> sourceIncludes = new HashSet<String>();
        sourceIncludes.add("schema.xml");
        sourceFileset.setIncludes(sourceIncludes);
        sourceFileset.setBasedir(projectPaths.getDefaultSourcePath());
        SourceProvider sourceProvider
                = new FileSourceProvider(
                        null,
                        sourceFileset,
                        null);
        UnitDescriptor unitDescriptor = new UnitDescriptor(
View Full Code Here

Examples of org.apache.torque.generator.source.SourceProvider

        boolean newSourceElementAdded = false;
        try
        {
            // do not change state of original source provider,
            // instead make a copy.
            SourceProvider sourceProvider
                    = controllerState.getSourceProvider().copy();
            sourceProvider.init(configurationHandlers, controllerState);

            while (sourceProvider.hasNext())
            {
                Source source = sourceProvider.next();
                SourceElement rootElement = source.getRootElement();
                SourceProcessConfiguration sourceProcessConfiguration
                    = output.getSourceProcessConfiguration();
                List<SourceTransformerDefinition> transformerDefinitions
                    = sourceProcessConfiguration.getTransformerDefinitions();
View Full Code Here

Examples of org.apache.wink.common.internal.providers.entity.SourceProvider

    }

    public void testSourceProvider() throws Exception {
        // stream source
        SourceProvider provider = new SourceProvider.StreamSourceProvider();
        Source source = assertSourceReader(provider, StreamSource.class);
        assertSourceWriter(provider, source);

        // sax source
        provider = new SourceProvider.SAXSourceProvider();
View Full Code Here

Examples of org.apache.wink.common.internal.providers.entity.SourceProvider

    }

    public void testSourceProvider() throws Exception {
        // stream source
        SourceProvider provider = new SourceProvider.StreamSourceProvider();
        Source source = assertSourceReader(provider, StreamSource.class);
        assertSourceWriter(provider, source);

        // sax source
        provider = new SourceProvider.SAXSourceProvider();
View Full Code Here

Examples of org.apache.wink.common.internal.providers.entity.SourceProvider

    }

    public void testSourceProvider() throws Exception {
        // stream source
        SourceProvider provider = new SourceProvider.StreamSourceProvider();
        Source source = assertSourceReader(provider, StreamSource.class);
        assertSourceWriter(provider, source);

        // sax source
        provider = new SourceProvider.SAXSourceProvider();
View Full Code Here

Examples of org.elasticsearch.common.inject.internal.SourceProvider

        private RecordingBinder(Stage stage) {
            this.stage = stage;
            this.modules = Sets.newHashSet();
            this.elements = Lists.newArrayList();
            this.source = null;
            this.sourceProvider = new SourceProvider().plusSkippedClasses(
                    Elements.class, RecordingBinder.class, AbstractModule.class,
                    ConstantBindingBuilderImpl.class, AbstractBindingBuilder.class, BindingBuilder.class);
            this.parent = null;
            this.privateElements = null;
        }
View Full Code Here

Examples of org.elasticsearch.common.inject.internal.SourceProvider

            // if a source is specified explicitly, we don't need to skip sources
            if (source != null) {
                return this;
            }

            SourceProvider newSourceProvider = sourceProvider.plusSkippedClasses(classesToSkip);
            return new RecordingBinder(this, null, newSourceProvider);
        }
View Full Code Here

Examples of org.restlet.ext.jaxrs.internal.provider.SourceProvider

        addDefaultProvider(new ReaderProvider());
        addDefaultProvider(new StreamingOutputProvider());
        addDefaultProvider(new StringProvider());
        addDefaultProvider(new WwwFormFormProvider());
        addDefaultProvider(new WwwFormMmapProvider());
        addDefaultProvider(new SourceProvider());
        addDefaultProvider(new WebAppExcMapper());

        addDefaultProvider("org.restlet.ext.jaxrs.internal.provider.JsonProvider");
    }
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.