Examples of OWLOntologyLoaderConfiguration


Examples of org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration

        // There's no offline configuration at all.
        else offlineResources = new IRI[0];

        // Used only for creating the registry model, do not use for caching.
        OWLOntologyManager mgr = OWLOntologyManagerFactory.createOWLOntologyManager(offlineResources);
        OWLOntologyLoaderConfiguration conf = new OWLOntologyLoaderConfiguration();
        // If we are retaining incomplete registries, do not throw exceptions if imports fail.
        conf.setSilentMissingImportsHandling(retainIncomplete);
        // Load registries
        Set<OWLOntology> regOnts = new HashSet<OWLOntology>();
        for (String loc : locations) {
            try {
                IRI iri = IRI.create(loc);
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration

    private Map<String, AnnotatedListItemParser<OWLDataProperty, ?>> dataPropertyFrameSections = new HashMap<String, AnnotatedListItemParser<OWLDataProperty, ?>>();


    public ManchesterOWLSyntaxEditorParser(OWLDataFactory dataFactory, String s) {
        this(new OWLOntologyLoaderConfiguration(), dataFactory, s);
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration

    private OWLOntologyLoaderConfiguration configuration;


    @Deprecated
    public OWLXMLParserHandler(OWLOntologyManager owlOntologyManager, OWLOntology ontology) {
        this(owlOntologyManager, ontology, null, new OWLOntologyLoaderConfiguration());
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration

    public OWLXMLParserHandler(OWLOntologyManager owlOntologyManager, OWLOntology ontology) {
        this(owlOntologyManager, ontology, null, new OWLOntologyLoaderConfiguration());
    }

    public OWLXMLParserHandler(OWLOntology ontology) {
        this(ontology, null, new OWLOntologyLoaderConfiguration());
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration

        bases.push(base);
    }

    @Deprecated
    public OWLXMLParserHandler(OWLOntologyManager owlOntologyManager, OWLOntology ontology, OWLElementHandler<?> topHandler) {
        this(owlOntologyManager, ontology, topHandler, new OWLOntologyLoaderConfiguration());
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration

        this(owlOntologyManager, ontology, topHandler, new OWLOntologyLoaderConfiguration());
    }


    public OWLXMLParserHandler(OWLOntology ontology, OWLElementHandler<?> topHandler) {
        this(ontology, topHandler, new OWLOntologyLoaderConfiguration());
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration

*/
public class OWLXMLParser extends AbstractOWLParser {


    public OWLOntologyFormat parse(OWLOntologyDocumentSource documentSource, OWLOntology ontology) throws OWLParserException, IOException, UnloadableImportException {
        return parse(documentSource, ontology, new OWLOntologyLoaderConfiguration());
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration

* Date: 10-Jan-2007<br><br>
*/
public class OWLOBOParser extends AbstractOWLParser {

    public OWLOntologyFormat parse(OWLOntologyDocumentSource documentSource, OWLOntology ontology) throws OWLParserException, IOException, UnloadableImportException {
        return parse(documentSource, ontology, new OWLOntologyLoaderConfiguration());
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration

            throw new ManchesterOWLSyntaxParserException(e.getMessage(), e.getLineNumber(), e.getColumnNumber());
        }
    }

    public OWLOntologyFormat parse(OWLOntologyDocumentSource documentSource, OWLOntology ontology) throws OWLParserException, IOException, UnloadableImportException {
        return  parse(documentSource, ontology, new OWLOntologyLoaderConfiguration());
    }
View Full Code Here

Examples of org.semanticweb.owlapi.model.OWLOntologyLoaderConfiguration

    private OWLRDFConsumer consumer;


    public OWLOntologyFormat parse(OWLOntologyDocumentSource documentSource, OWLOntology ontology) throws OWLParserException, IOException, UnloadableImportException {
        return parse(documentSource, ontology, new OWLOntologyLoaderConfiguration());
    }
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.