Package org.openbel.framework.core.compiler.expansion

Examples of org.openbel.framework.core.compiler.expansion.ExpansionServiceImpl


     * @param a {@link Document}
     * @param b {@link Document}
     * @return merged {@link ProtoNetwork}
     */
    private ProtoNetwork merge(Document a, Document b) {
        ExpansionService es = new ExpansionServiceImpl();
        ProtoNetworkBuilder builder = new ProtoNetworkBuilder(a);
        ProtoNetwork networkA = builder.buildProtoNetwork();
        es.expandTerms(a, networkA);
        builder = new ProtoNetworkBuilder(b);
        ProtoNetwork n2 = builder.buildProtoNetwork();
        es.expandTerms(b, n2);
        ProtoNetworkMerger merger = new ProtoNetworkMerger();
        merger.merge(networkA, n2);
        return networkA;
    }
View Full Code Here


                new NamespaceIndexerServiceImpl();
        final CacheLookupService cacheLookup = new DefaultCacheLookupService();
        final NamespaceService nsService = new DefaultNamespaceService(
                cache, cacheLookup, nsindexer);
        final SemanticService semantics = new SemanticServiceImpl(nsService);
        final ExpansionService expansion = new ExpansionServiceImpl();
        final AnnotationService annotationService =
                new DefaultAnnotationService();
        final AnnotationDefinitionService annotationDefinitionService =
                new DefaultAnnotationDefinitionService(cache, cacheLookup);
View Full Code Here

        final NamespaceService nsService = new DefaultNamespaceService(
                cache, cacheLookup, nsindexer);
        final ProtoNetworkService protonetService =
                new ProtoNetworkServiceImpl();
        final SemanticService semantics = new SemanticServiceImpl(nsService);
        final ExpansionService expansion = new ExpansionServiceImpl();
        final AnnotationService annotationService =
                new DefaultAnnotationService();
        final AnnotationDefinitionService annotationDefinitionService =
                new DefaultAnnotationDefinitionService(cache, cacheLookup);
View Full Code Here

                    new XBELValidatorServiceImpl(),
                    new XBELConverterServiceImpl(),
                    new BELValidatorServiceImpl(),
                    new BELConverterServiceImpl(),
                    nss,
                    new SemanticServiceImpl(nss), new ExpansionServiceImpl(),
                    new ProtoNetworkServiceImpl(),
                    new DefaultAnnotationService(),
                    new DefaultAnnotationDefinitionService(crs, cls));
        } catch (Exception e) {
            e.printStackTrace();
View Full Code Here

        final NamespaceService nsService = new DefaultNamespaceService(
                cache, cacheLookup, nsindexer);
        final ProtoNetworkService protonetService =
                new ProtoNetworkServiceImpl();
        final SemanticService semantics = new SemanticServiceImpl(nsService);
        final ExpansionService expansion = new ExpansionServiceImpl();
        final AnnotationService annotationService =
                new DefaultAnnotationService();
        final AnnotationDefinitionService annotationDefinitionService =
                new DefaultAnnotationDefinitionService(cache, cacheLookup);
View Full Code Here

TOP

Related Classes of org.openbel.framework.core.compiler.expansion.ExpansionServiceImpl

Copyright © 2018 www.massapicom. 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.