Package org.semanticweb.owlapi.rio
Class OWLAPIRDFFormat
java.lang.Object
org.eclipse.rdf4j.common.lang.FileFormat
org.eclipse.rdf4j.rio.RDFFormat
org.semanticweb.owlapi.rio.OWLAPIRDFFormat
public class OWLAPIRDFFormat
extends org.eclipse.rdf4j.rio.RDFFormat
Extended
RDFFormat constants for OWL formats that can be translated into RDF.- Since:
- 4.0.0
- Author:
- Peter Ansell p_ansell@yahoo.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OWLAPIRDFFormatThe Manchester OWL Syntax file format.static final OWLAPIRDFFormatThe OWL Functional Syntax file format.static final OWLAPIRDFFormatThe OWL/XML file format.Fields inherited from class org.eclipse.rdf4j.rio.RDFFormat
BINARY, HDT, JSONLD, N3, NDJSONLD, NO_CONTEXTS, NO_NAMESPACES, NO_RDF_STAR, NQUADS, NTRIPLES, RDFA, RDFJSON, RDFXML, SUPPORTS_CONTEXTS, SUPPORTS_NAMESPACES, SUPPORTS_RDF_STAR, TRIG, TRIGSTAR, TRIX, TURTLE, TURTLESTAR -
Constructor Summary
ConstructorsConstructorDescriptionOWLAPIRDFFormat(String name, String mimeType, Charset charset, String fileExtension, boolean supportsNamespaces, boolean supportsContexts, org.semanticweb.owlapi.model.OWLDocumentFormat owlFormat) OWLAPIRDFFormat(String name, String mimeType, Charset charset, String fileExtension, boolean supportsNamespaces, boolean supportsContexts, org.semanticweb.owlapi.model.OWLDocumentFormatFactory owlFormat) OWLAPIRDFFormat(String name, String mimeType, Charset charset, Collection<String> fileExtensions, boolean supportsNamespaces, boolean supportsContexts, org.semanticweb.owlapi.model.OWLDocumentFormat owlFormat) OWLAPIRDFFormat(String name, String mimeType, Charset charset, Collection<String> fileExtensions, boolean supportsNamespaces, boolean supportsContexts, org.semanticweb.owlapi.model.OWLDocumentFormatFactory owlFormat) OWLAPIRDFFormat(String name, Collection<String> mimeTypes, Charset charset, Collection<String> fileExtensions, boolean supportsNamespaces, boolean supportsContexts, org.semanticweb.owlapi.model.OWLDocumentFormat owlFormat) OWLAPIRDFFormat(String name, Collection<String> mimeTypes, Charset charset, Collection<String> fileExtensions, boolean supportsNamespaces, boolean supportsContexts, org.semanticweb.owlapi.model.OWLDocumentFormatFactory owlFormat) -
Method Summary
Methods inherited from class org.eclipse.rdf4j.rio.RDFFormat
getAcceptParams, getStandardURI, hasStandardURI, supportsContexts, supportsNamespaces, supportsRDFStarMethods inherited from class org.eclipse.rdf4j.common.lang.FileFormat
equals, getCharset, getDefaultFileExtension, getDefaultMIMEType, getFileExtensions, getMIMETypes, getName, hasCharset, hasDefaultFileExtension, hasDefaultMIMEType, hasFileExtension, hashCode, hasMIMEType, matchFileName, matchMIMEType, toString
-
Field Details
-
MANCHESTER_OWL
The Manchester OWL Syntax file format.The file extension
.omnis recommended for Manchester OWL Syntax documents. The media type istext/owl-manchesterand encoding is in UTF-8. -
OWL_XML
The OWL/XML file format.The file extension
.owxis recommended for OWL/XML documents. The media type isapplication/owl+xmland encoding is in UTF-8. -
OWL_FUNCTIONAL
The OWL Functional Syntax file format.The file extension
.ofnis recommended for OWL Functional Syntax documents. The media type istext/owl-functionaland encoding is in UTF-8.
-
-
Constructor Details
-
OWLAPIRDFFormat
public OWLAPIRDFFormat(String name, String mimeType, Charset charset, String fileExtension, boolean supportsNamespaces, boolean supportsContexts, org.semanticweb.owlapi.model.OWLDocumentFormatFactory owlFormat) - Parameters:
name- namemimeType- mime typecharset- charsetfileExtension- file extensionsupportsNamespaces- true if format supports namespacessupportsContexts- true if format supports contextsowlFormat- owl format
-
OWLAPIRDFFormat
public OWLAPIRDFFormat(String name, String mimeType, Charset charset, Collection<String> fileExtensions, boolean supportsNamespaces, boolean supportsContexts, org.semanticweb.owlapi.model.OWLDocumentFormatFactory owlFormat) - Parameters:
name- namemimeType- mime typecharset- charsetfileExtensions- file extensionssupportsNamespaces- true if format supports namespacessupportsContexts- true if format supports contextsowlFormat- owl format
-
OWLAPIRDFFormat
public OWLAPIRDFFormat(String name, Collection<String> mimeTypes, Charset charset, Collection<String> fileExtensions, boolean supportsNamespaces, boolean supportsContexts, org.semanticweb.owlapi.model.OWLDocumentFormatFactory owlFormat) - Parameters:
name- namemimeTypes- mime typescharset- charsetfileExtensions- file extensionssupportsNamespaces- true if format supports namespacessupportsContexts- true if format supports contextsowlFormat- owl format
-
OWLAPIRDFFormat
public OWLAPIRDFFormat(String name, String mimeType, Charset charset, String fileExtension, boolean supportsNamespaces, boolean supportsContexts, org.semanticweb.owlapi.model.OWLDocumentFormat owlFormat) - Parameters:
name- namemimeType- mime typecharset- charsetfileExtension- file extensionsupportsNamespaces- true if format supports namespacessupportsContexts- true if format supports contextsowlFormat- owl format
-
OWLAPIRDFFormat
public OWLAPIRDFFormat(String name, String mimeType, Charset charset, Collection<String> fileExtensions, boolean supportsNamespaces, boolean supportsContexts, org.semanticweb.owlapi.model.OWLDocumentFormat owlFormat) - Parameters:
name- namemimeType- mime typecharset- charsetfileExtensions- file extensionssupportsNamespaces- true if format supports namespacessupportsContexts- true if format supports contextsowlFormat- owl format
-
OWLAPIRDFFormat
public OWLAPIRDFFormat(String name, Collection<String> mimeTypes, Charset charset, Collection<String> fileExtensions, boolean supportsNamespaces, boolean supportsContexts, org.semanticweb.owlapi.model.OWLDocumentFormat owlFormat) - Parameters:
name- namemimeTypes- mime typescharset- charsetfileExtensions- file extensionssupportsNamespaces- true if format supports namespacessupportsContexts- true if format supports contextsowlFormat- owl format
-
-
Method Details
-
getOWLFormat
public org.semanticweb.owlapi.model.OWLDocumentFormat getOWLFormat()- Returns:
- A fresh instance of the matching
OWLDocumentFormatfor this OWLAPIRDFFormat.
-