Serializable
PrefixDocumentFormat
, RDFDocumentFormat
AbstractRDFNonPrefixDocumentFormat
, AbstractRDFPrefixDocumentFormat
, DLSyntaxDocumentFormat
, DLSyntaxHTMLDocumentFormat
, FunctionalSyntaxDocumentFormat
, KRSS2DocumentFormat
, KRSSDocumentFormat
, LabelFunctionalDocumentFormat
, LatexAxiomsListDocumentFormat
, LatexDocumentFormat
, ManchesterSyntaxDocumentFormat
, OBODocumentFormat
, OWLDocumentFormatImpl
, OWLXMLDocumentFormat
, PrefixDocumentFormatImpl
, RDFXMLDocumentFormat
, TurtleDocumentFormat
public interface OWLDocumentFormat extends Serializable
Modifier and Type | Method | Description |
---|---|---|
PrefixDocumentFormat |
asPrefixOWLOntologyFormat() |
If this format is an instance of
PrefixDocumentFormat then this
method will obtain it as a
PrefixDocumentFormat . |
String |
getKey() |
|
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.
|
Serializable |
getParameter(Serializable key,
Serializable defaultValue) |
|
boolean |
isAddMissingTypes() |
Determines if untyped entities should automatically be typed (declared)
during rendering.
|
boolean |
isPrefixOWLOntologyFormat() |
Determines if this format is an instance of a format that uses prefixes
to shorted IRIs.
|
boolean |
isTextual() |
Determines whether this format contains textual output, as opposed to
binary output.
|
void |
setAddMissingTypes(boolean addMissingTypes) |
Determines if untyped entities should automatically be typed during
rendering.
|
void |
setOntologyLoaderMetaData(OWLOntologyLoaderMetaData loaderMetaData) |
Sets the meta data for the ontology loader.
|
void |
setParameter(Serializable key,
Serializable value) |
boolean isAddMissingTypes()
true
if untyped entities should automatically be typed
during rendering, otherwise false
.void setAddMissingTypes(boolean addMissingTypes)
addMissingTypes
- true
if untyped entities should automatically be typed
during rendering, otherwise false
.void setParameter(Serializable key, Serializable value)
key
- key for the new entryvalue
- value for the new entrySerializable getParameter(Serializable key, Serializable defaultValue)
key
- key for the new entrydefaultValue
- value for the new entryboolean isPrefixOWLOntologyFormat()
true
if this format is an instance of
PrefixDocumentFormat
other
wise false
.@Nonnull PrefixDocumentFormat asPrefixOWLOntologyFormat()
PrefixDocumentFormat
then this
method will obtain it as a
PrefixDocumentFormat
.PrefixDocumentFormat
.ClassCastException
- if this format is not an instance of
PrefixDocumentFormat
@Nonnull OWLOntologyLoaderMetaData getOntologyLoaderMetaData()
OWLOntologyFormat
will provide accessors etc. to details pertaining to the meta data about
loading.void setOntologyLoaderMetaData(@Nonnull OWLOntologyLoaderMetaData loaderMetaData)
loaderMetaData
- The metadata.NullPointerException
- if the loaderMetaData
is null
.boolean isTextual()
Copyright © 2018 The University of Manchester. All rights reserved.