public abstract class OWLOntologyFormat extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
USE_INTERMEDIATE_OUTPUT_FILE
if set to "true", an intermediate file will be used for output, even for
remote URIs.
|
Constructor and Description |
---|
OWLOntologyFormat() |
Modifier and Type | Method and Description |
---|---|
PrefixOWLOntologyFormat |
asPrefixOWLOntologyFormat()
If this format is an instance of
PrefixOWLOntologyFormat then this
method will obtain it as a
PrefixOWLOntologyFormat . |
boolean |
equals(Object obj) |
Collection<String> |
getCommonExtensions() |
OWLOntologyLoaderMetaData |
getOntologyLoaderMetaData()
If this format describes an ontology that was loaded from some ontology
document (rather than created programmatically) there may be some meta
data about the loading process.
|
Object |
getParameter(Object key,
Object defaultValue) |
int |
hashCode() |
boolean |
isPrefixOWLOntologyFormat()
Determines if this format is an instance of a format that uses prefixes
to shorted IRIs.
|
void |
setOntologyLoaderMetaData(OWLOntologyLoaderMetaData loaderMetaData)
Sets the meta data for the ontology loader.
|
void |
setParameter(Object key,
Object value) |
public static String USE_INTERMEDIATE_OUTPUT_FILE
public void setParameter(Object key, Object value)
key
- key for the new entryvalue
- value for the new entrypublic Object getParameter(Object key, Object defaultValue)
key
- key for the new entrydefaultValue
- value for the new entrypublic boolean isPrefixOWLOntologyFormat()
true
if this format is an instance of
PrefixOWLOntologyFormat
other wise false
.public PrefixOWLOntologyFormat asPrefixOWLOntologyFormat()
PrefixOWLOntologyFormat
then this
method will obtain it as a
PrefixOWLOntologyFormat
.PrefixOWLOntologyFormat
.ClassCastException
- if this format is not an instance of
PrefixOWLOntologyFormat
public OWLOntologyLoaderMetaData getOntologyLoaderMetaData()
OWLOntologyFormat
will provide accessors etc. to details pertaining to the meta data about
loading.null
.public void setOntologyLoaderMetaData(OWLOntologyLoaderMetaData loaderMetaData)
loaderMetaData
- The metadata. Must not be null
.NullPointerException
- if the loaderMetaData
is null
.public Collection<String> getCommonExtensions()
Copyright © 2017 The University of Manchester. All Rights Reserved.