| Package | Description |
|---|---|
| org.semanticweb.owlapi.io |
Ontology parsing and saving classes.
|
| org.semanticweb.owlapi.model |
Main API classes.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<InputStream> |
DocumentSources.getInputStream(IRI documentIRI,
OWLOntologyLoaderConfiguration config)
Deprecated.
|
static Optional<InputStream> |
DocumentSources.getInputStream(IRI documentIRI,
OWLOntologyLoaderConfiguration config,
String acceptHeaders)
A convenience method that obtains an input stream from a URI.
|
OWLDocumentFormat |
OWLParser.parse(OWLOntologyDocumentSource documentSource,
OWLOntology ontology,
OWLOntologyLoaderConfiguration configuration)
Parses the ontology with a concrete representation in
documentSource and adds its
axioms to ontology. |
static InputStream |
DocumentSources.wrapInput(OWLOntologyDocumentSource source,
OWLOntologyLoaderConfiguration configuration)
Select the available input source as an input stream.
|
static Reader |
DocumentSources.wrapInputAsReader(OWLOntologyDocumentSource source,
OWLOntologyLoaderConfiguration configuration)
Call #wrapwrapInputAsReader(OWLOntologyLoaderConfiguration, String) with UTF-* as default
encoding.
|
static Reader |
DocumentSources.wrapInputAsReader(OWLOntologyDocumentSource source,
OWLOntologyLoaderConfiguration configuration,
Charset encoding)
Select the available input source and, if it is not already a Reader, wrap it in a Reader.
|
| Constructor and Description |
|---|
UnparsableOntologyException(IRI documentIRI,
Map<OWLParser,OWLParserException> exceptions,
OWLOntologyLoaderConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.addIgnoredImport(IRI ontologyDocumentIRI)
Adds an ontology document IRI to the list of ontology imports that will be ignored during
ontology loading.
|
OWLOntologyLoaderConfiguration |
OntologyConfigurator.buildLoaderConfiguration() |
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.clearIgnoredImports()
Clears all ontology document IRIs from the list of ignored ontology document IRIs.
|
OWLOntologyLoaderConfiguration |
HasOntologyLoaderConfiguration.getOntologyLoaderConfiguration() |
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.removeIgnoredImport(IRI ontologyDocumentIRI)
Removes an ontology document IRI from the list of ontology imports that will be ignored
during ontology loading.
|
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.setAcceptingHTTPCompression(boolean b) |
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.setAuthorizationValue(String authorizationValue) |
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.setBannedParsers(String ban) |
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.setConnectionTimeout(int l) |
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.setEntityExpansionLimit(String limit) |
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.setFollowRedirects(boolean value) |
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.setLoadAnnotationAxioms(boolean b)
Specifies whether or not annotation axioms (instances of
OWLAnnotationAxiom) should
be loaded or whether they should be discarded on loading. |
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.setMissingImportHandlingStrategy(MissingImportHandlingStrategy missingImportHandlingStrategy)
Sets the strategy that is used for missing imports handling.
|
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.setMissingOntologyHeaderStrategy(MissingOntologyHeaderStrategy missingOntologyHeaderStrategy) |
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.setPriorityCollectionSorting(PriorityCollectionSorting sorting)
Set the priorty collection sorting option.
|
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.setRepairIllegalPunnings(boolean b) |
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.setReportStackTraces(boolean b)
Set the value for the report stack traces flag.
|
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.setRetriesToAttempt(int retries) |
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.setStrict(boolean strict) |
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.setTreatDublinCoreAsBuiltIn(boolean value) |
OWLOntologyLoaderConfiguration |
OWLOntologyLoaderConfiguration.setTrimToSize(boolean value) |
| Modifier and Type | Method and Description |
|---|---|
OWLOntology |
OWLOntologyManager.loadOntologyFromOntologyDocument(OWLOntologyDocumentSource documentSource,
OWLOntologyLoaderConfiguration config)
A convenience method that load an ontology from an input source with specified configuration.
|
OWLOntology |
OWLOntologyFactory.loadOWLOntology(OWLOntologyManager manager,
OWLOntologyDocumentSource documentSource,
OWLOntologyFactory.OWLOntologyCreationHandler handler,
OWLOntologyLoaderConfiguration configuration)
Creates and loads an
OWLOntology. |
void |
OWLOntologyManager.makeLoadImportRequest(OWLImportsDeclaration declaration,
OWLOntologyLoaderConfiguration configuration)
Requests that the manager loads an imported ontology that is described by an imports
statement.
|
void |
HasOntologyLoaderConfiguration.setOntologyLoaderConfiguration(OWLOntologyLoaderConfiguration config)
Sets the configuration.
|
Copyright © 2018 The University of Manchester. All rights reserved.