public abstract class OWLDocumentFormatImpl extends Object implements OWLDocumentFormat
| Constructor and Description |
|---|
OWLDocumentFormatImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Optional<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.
|
<T> T |
getParameter(Serializable key,
T defaultValue) |
int |
hashCode() |
boolean |
isAddMissingTypes()
Determines if untyped entities should automatically be typed (declared) during rendering.
|
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) |
String |
toString() |
asPrefixOWLDocumentFormat, computeIllegals, determineIllegalPunnings, getKey, isMissingType, isPrefixOWLDocumentFormat, supportsRelativeIRIspublic boolean isAddMissingTypes()
OWLDocumentFormatisAddMissingTypes in interface OWLDocumentFormattrue if untyped entities should automatically be typed during rendering,
otherwise false.public void setAddMissingTypes(boolean addMissingTypes)
OWLDocumentFormatsetAddMissingTypes in interface OWLDocumentFormataddMissingTypes - true if untyped entities should automatically be typed during
rendering, otherwise false.public void setParameter(Serializable key, Serializable value)
setParameter in interface OWLDocumentFormatkey - key for the new entryvalue - value for the new entrypublic <T> T getParameter(Serializable key, T defaultValue)
getParameter in interface OWLDocumentFormatT - typekey - key for the new entrydefaultValue - value for the new entrypublic Optional<OWLOntologyLoaderMetaData> getOntologyLoaderMetaData()
OWLDocumentFormatOWLDocumentFormat will provide accessors etc. to details pertaining to the meta
data about loading.getOntologyLoaderMetaData in interface OWLDocumentFormatpublic void setOntologyLoaderMetaData(OWLOntologyLoaderMetaData loaderMetaData)
OWLDocumentFormatsetOntologyLoaderMetaData in interface OWLDocumentFormatloaderMetaData - The metadata.public boolean isTextual()
OWLDocumentFormatisTextual in interface OWLDocumentFormatCopyright © 2020 The University of Manchester. All rights reserved.