Package org.restlet.engine.application
Class MetadataExtension
java.lang.Object
org.restlet.engine.application.MetadataExtension
Associates an extension name and a metadata.
- Author:
- Alex Milowski (alexml@milowski.org), Thierry Boileau
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the character set.Returns the encoding.Returns the language.Returns the media type.Returns the metadata.getName()Returns the extension name.
-
Constructor Details
-
MetadataExtension
Constructor.- Parameters:
name- The extension name.metadata- The metadata.
-
-
Method Details
-
getCharacterSet
Returns the character set.- Returns:
- the character set.
-
getEncoding
Returns the encoding.- Returns:
- the encoding.
-
getLanguage
Returns the language.- Returns:
- the language.
-
getMediaType
Returns the media type.- Returns:
- the media type.
-
getMetadata
Returns the metadata.- Returns:
- the metadata.
-
getName
Returns the extension name.- Returns:
- The extension name.
-