Package org.semanticweb.owlapi.model
Interface OWLDocumentFormatFactory
- All Superinterfaces:
MIMETypeAware
,Serializable
,Supplier<OWLDocumentFormat>
- All Known Implementing Classes:
DLSyntaxDocumentFormatFactory
,DLSyntaxHTMLDocumentFormatFactory
,FunctionalSyntaxDocumentFormatFactory
,KRSS2DocumentFormatFactory
,KRSSDocumentFormatFactory
,LabelFunctionalDocumentFormatFactory
,LatexAxiomsListDocumentFormatFactory
,LatexDocumentFormatFactory
,ManchesterSyntaxDocumentFormatFactory
,OBODocumentFormatFactory
,OWLDocumentFormatFactoryImpl
,OWLXMLDocumentFormatFactory
,RDFXMLDocumentFormatFactory
,TurtleDocumentFormatFactory
public interface OWLDocumentFormatFactory
extends Serializable, Supplier<OWLDocumentFormat>, MIMETypeAware
Factory for ontology formats.
- Since:
- 4.0.0
- Author:
- Peter Ansell [email protected]
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new format.getKey()
Returns the key for the OWLDocumentFormat that this class is a factory for without necessarily creating an instance of the OWLDocumentFormat.boolean
Returns true if this format can be represented using textual characters.Methods inherited from interface org.semanticweb.owlapi.model.MIMETypeAware
getDefaultMIMEType, getMIMETypes, handlesMimeType
-
Method Details
-
createFormat
OWLDocumentFormat createFormat()Create a new format. Note that ontology formats currently carry prefix information for the ontology, so an instance cannot, in general, be reused for multiple parsings.- Returns:
- new storer
-
getKey
String getKey()Returns the key for the OWLDocumentFormat that this class is a factory for without necessarily creating an instance of the OWLDocumentFormat.- Returns:
- The key for the OWLDocumentFormat.
-
isTextual
boolean isTextual()Returns true if this format can be represented using textual characters. Returns false if this format must be dealt with using binary methods.- Returns:
- True if this format is textual, and false if it is a binary format.
-