Package org.apache.stanbol.ontologymanager.ontonet.api.scope

Examples of org.apache.stanbol.ontologymanager.ontonet.api.scope.OntologySpace.export()


            if (!ontiri.isAbsolute()) ontiri = IRI.create(absur);

            // First of all, it could be a simple request for the space root!
            String temp = scopeId + "/" + ontologyId;
            OntologySpace space = scope.getCoreSpace();
            if (temp.equals(space.getID())) rb = Response.ok(space.export(Graph.class, merge));
            else {
                space = scope.getCustomSpace();
                if (temp.equals(space.getID())) rb = Response.ok(space.export(Graph.class, merge));
                else {
                    Graph o = null;
View Full Code Here


            String temp = scopeId + "/" + ontologyId;
            OntologySpace space = scope.getCoreSpace();
            if (temp.equals(space.getID())) rb = Response.ok(space.export(Graph.class, merge));
            else {
                space = scope.getCustomSpace();
                if (temp.equals(space.getID())) rb = Response.ok(space.export(Graph.class, merge));
                else {
                    Graph o = null;
                    IRI ontologyIri = IRI.create(ontologyId);
                    OntologySpace spc = scope.getCustomSpace();
                    if (spc != null && spc.hasOntology(ontologyIri)) {
View Full Code Here

            if (!ontiri.isAbsolute()) ontiri = IRI.create(absur);

            // First of all, it could be a simple request for the space root!
            String temp = scopeId + "/" + ontologyId;
            OntologySpace space = scope.getCoreSpace();
            if (temp.equals(space.getID())) rb = Response.ok(space.export(OWLOntology.class, merge));
            else {
                space = scope.getCustomSpace();
                if (temp.equals(space.getID())) rb = Response.ok(space.export(OWLOntology.class, merge));
                else {
                    OWLOntology o = null;
View Full Code Here

            String temp = scopeId + "/" + ontologyId;
            OntologySpace space = scope.getCoreSpace();
            if (temp.equals(space.getID())) rb = Response.ok(space.export(OWLOntology.class, merge));
            else {
                space = scope.getCustomSpace();
                if (temp.equals(space.getID())) rb = Response.ok(space.export(OWLOntology.class, merge));
                else {
                    OWLOntology o = null;
                    IRI ontologyIri = IRI.create(ontologyId);
                    OntologySpace spc = scope.getCustomSpace();
                    if (spc != null && spc.hasOntology(ontologyIri)) {
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.