org.semanticweb.owlapi.model
Class OWLOntologyFormat
java.lang.Object
org.semanticweb.owlapi.model.OWLOntologyFormat
- Direct Known Subclasses:
- DLSyntaxHTMLOntologyFormat, DLSyntaxOntologyFormat, KRSS2OntologyFormat, KRSSOntologyFormat, LatexAxiomsListOntologyFormat, LatexOntologyFormat, OBOOntologyFormat, PrefixOWLOntologyFormat
public abstract class OWLOntologyFormat
- extends java.lang.Object
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 02-Jan-2007
Represents the concrete representation format of
an ontology. The equality of an ontology format
is defined by the equals and hashCode method (not
its identity).
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
OWLOntologyFormat
public OWLOntologyFormat()
setParameter
public void setParameter(java.lang.Object key,
java.lang.Object value)
getParameter
public java.lang.Object getParameter(java.lang.Object key,
java.lang.Object defaultValue)
isPrefixOWLOntologyFormat
public boolean isPrefixOWLOntologyFormat()
- Determines if this format is an instance of a format that uses prefixes to shorted IRIs
- Returns:
true
if this format is an instance of PrefixOWLOntologyFormat
other wise false
.
asPrefixOWLOntologyFormat
public PrefixOWLOntologyFormat asPrefixOWLOntologyFormat()
- If this format is an instance of
PrefixOWLOntologyFormat
then this method
will obtain it as a PrefixOWLOntologyFormat
- Returns:
- This format as a more specific
PrefixOWLOntologyFormat
.
- Throws:
java.lang.ClassCastException
- if this format is not an instance of PrefixOWLOntologyFormat
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object