- <init>
Constructor. Sets the default language to Language#ENGLISH_US, the default
encoding to Encoding#IDEN
- getExtension
Returns the first extension mapping to this metadata.
- getMetadata
Returns the metadata associated to this extension. It returns null if the
extension was not declared
- addExtension
Maps an extension to some metadata (media type, language or character set) to an
extension.
- getAllMediaTypes
Returns all the media types associated to this extension. It returns null if the
extension was not d
- addCommonExtensions
Adds a common list of associations from extensions to metadata. The list of
languages extensions:
*
- getDefaultLanguage
Returns the default language for local representations.
- getDefaultMediaType
Returns the default media type for local representations.
- setDefaultCharacterSet
Sets the default character set for local representations.
- ext
Creates a new extension mapping.
- getAllMetadata
Returns all the metadata associated to this extension. It returns null if the
extension was not decl
- getDefaultCharacterSet
Returns the default character set for textual representations.