Click or drag to resize

MimeTypeDefinition Class

Represents the definition of a MIME Type including mappings to relevant readers and writers.
Inheritance Hierarchy
SystemObject
  VDS.RDFMimeTypeDefinition

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public sealed class MimeTypeDefinition

The MimeTypeDefinition type exposes the following members.

Constructors
  NameDescription
Public methodMimeTypeDefinition(String, IEnumerableString, IEnumerableString)
Creates a new MIME Type Definition.
Public methodMimeTypeDefinition(String, String, IEnumerableString, IEnumerableString)
Creates a new MIME Type Definition.
Public methodMimeTypeDefinition(String, IEnumerableString, IEnumerableString, Type, Type, Type, Type, Type, Type)
Creates a new MIME Type Definition.
Public methodMimeTypeDefinition(String, String, IEnumerableString, IEnumerableString, Type, Type, Type, Type, Type, Type)
Creates a new MIME Type Definition.
Top
Properties
  NameDescription
Public propertyCanonicalFileExtension
Gets/Sets the Canonical File Extension for this Syntax.
Public propertyCanonicalMimeType
Gets the Canonical MIME Type that should be used.
Public propertyCanParseRdf
Gets whether this definition can instantiate a Parser that can parse RDF.
Public propertyCanParseRdfDatasets
Gets whether this definition can instantiate a Parser that can parse RDF Datasets.
Public propertyCanParseSparqlResults
Gets whether this definition can instantiate a Parser that can parse SPARQL Results.
Public propertyCanWriteRdf
Gets whether the definition provides a RDF Writer.
Public propertyCanWriteRdfDatasets
Gets whether the Definition provides a RDF Dataset Writer.
Public propertyCanWriteSparqlResults
Gets whether the Definition provides a SPARQL Results Writer.
Public propertyEncoding
Gets the Encoding that should be used for reading and writing this Syntax.
Public propertyFileExtensions
Gets the File Extensions associated with this Syntax.
Public propertyFormatUri
Gets the Format URI as defined by the W3C (where applicable).
Public propertyHasFileExtensions
Gets whether any file extensions are associated with this syntax.
Public propertyMimeTypes
Gets the MIME Types defined.
Public propertyObjectParserTypes
Gets the registered Object Parser Types.
Public propertyRdfDatasetParserType
Gets/Sets the Type to use to parse RDF Datasets (or null if not applicable).
Public propertyRdfDatasetWriterType
Gets/Sets the Type to use to writer RDF Dataets (or null if not applicable).
Public propertyRdfParserType
Gets/Sets the Type to use to parse RDF (or null if not applicable).
Public propertyRdfWriterType
Gets/Sets the Type to use to writer RDF (or null if not applicable).
Public propertySparqlResultsParserType
Gets/Sets the Type to use to parse SPARQL Results (or null if not applicable).
Public propertySparqlResultsWriterType
Gets/Sets the Type to use to write SPARQL Results (or null if not applicable).
Public propertySyntaxName
Gets the name of the Syntax to which this MIME Type Definition relates.
Top
Methods
  NameDescription
Public methodAddFileExtension
Adds a File Extension for this Syntax.
Public methodAddMimeType
Adds a MIME Type to this definition.
Public methodCanParseObjectT
Gets whether a particular Type of Object can be parsed.
Public methodCheckValidMimeType
Checks that MIME Types are valid.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectParserT
Gets an Object Parser for the given Type.
Public methodGetObjectParserTypeT
Gets an Object Parser for the given Type.
Public methodGetRdfDatasetParser
Gets an instance of a RDF Dataset parser.
Public methodGetRdfDatasetWriter
Gets an instance of a RDF Dataset writer.
Public methodGetRdfParser
Gets an instance of a RDF parser.
Public methodGetRdfWriter
Gets an instance of a RDF writer.
Public methodGetSparqlResultsParser
Gets an instance of a SPARQL Results parser.
Public methodGetSparqlResultsWriter
Gets an instance of a SPARQL Results writer.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetObjectParserTypeT
Sets an Object Parser for the given Type.
Public methodSupportsFileExtension
Determines whether the Definition supports a particular File Extension.
Public methodSupportsMimeType(String) Obsolete.
Determines whether the Definition supports a particular MIME type.
Public methodSupportsMimeType(MimeTypeSelector)
Determines whether the definition supports the MIME type specified by the selector.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also