Click or drag to resize

MimeTypeSelector Class

Selector used in selecting which MIME type to use.
Inheritance Hierarchy
SystemObject
  VDS.RDFMimeTypeSelector

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public sealed class MimeTypeSelector : IComparable<MimeTypeSelector>

The MimeTypeSelector type exposes the following members.

Constructors
  NameDescription
Public methodMimeTypeSelector
Creates a new MIME Type Selector.
Top
Properties
  NameDescription
Public propertyCharset
Gets the Charset for the selector (may be null if none specified).
Public propertyIsAny
Gets whether the selector if for a */* pattern i.e. accept any.
Public propertyIsInvalid
Gets whether the selector is invalid.
Public propertyIsRange
Gets whether the selector is for a type/* pattern i.e. accept any sub-type of the given type.
Public propertyIsSpecific
Gets whether the selector is for a specific MIME type e.g. type/sub-type.
Public propertyOrder
Gets the order of apperance for the selector (used as precedence tiebreaker where necessary).
Public propertyQuality
Gets the quality for the selector (range of 0.0-1.0).
Public propertyRangeType
Gets the range type if this is a range selector.
Public propertyType
Gets the selected type.
Top
Methods
  NameDescription
Public methodCompareTo
Sorts the selector in precedence order according to the content negotiation rules from the relevant RFCs.
Public methodStatic memberCreate
Creates a MIME Type selector.
Public methodStatic memberCreateSelectors
Creates an enumeration of MIME type selectors.
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Gets the string representation of the selector as it would appear in an Accept header.
(Overrides ObjectToString.)
Top
See Also