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, supportsRelativeIRIs
public boolean isAddMissingTypes()
OWLDocumentFormat
isAddMissingTypes
in interface OWLDocumentFormat
true
if untyped entities should automatically be typed during rendering,
otherwise false
.public void setAddMissingTypes(boolean addMissingTypes)
OWLDocumentFormat
setAddMissingTypes
in interface OWLDocumentFormat
addMissingTypes
- true
if untyped entities should automatically be typed during
rendering, otherwise false
.public void setParameter(Serializable key, Serializable value)
setParameter
in interface OWLDocumentFormat
key
- key for the new entryvalue
- value for the new entrypublic <T> T getParameter(Serializable key, T defaultValue)
getParameter
in interface OWLDocumentFormat
T
- typekey
- key for the new entrydefaultValue
- value for the new entrypublic Optional<OWLOntologyLoaderMetaData> getOntologyLoaderMetaData()
OWLDocumentFormat
OWLDocumentFormat
will provide accessors etc. to details pertaining to the meta
data about loading.getOntologyLoaderMetaData
in interface OWLDocumentFormat
public void setOntologyLoaderMetaData(OWLOntologyLoaderMetaData loaderMetaData)
OWLDocumentFormat
setOntologyLoaderMetaData
in interface OWLDocumentFormat
loaderMetaData
- The metadata.public boolean isTextual()
OWLDocumentFormat
isTextual
in interface OWLDocumentFormat
Copyright © 2020 The University of Manchester. All rights reserved.