| java.lang.Object org.restlet.data.Metadata
All known Subclasses: org.restlet.data.Encoding, org.restlet.data.Language, org.restlet.data.Status, org.restlet.data.Method, org.restlet.data.ChallengeScheme, org.restlet.data.Protocol, org.restlet.data.MediaType, org.restlet.data.Tag, org.restlet.data.CharacterSet,
Metadata | public class Metadata (Code) | | Description of data contained in a resource representation. "A representation
consists of data, metadata describing the data, and, on occasion, metadata to
describe the metadata (usually for the purpose of verifying message
integrity). Metadata is in the form of name-value pairs, where the name
corresponds to a standard that defines the value's structure and semantics.
Response messages may include both representation metadata and resource
metadata: information about the resource that is not specific to the supplied
representation." Roy T. Fielding
See Also: Source
* dissertation author: Jerome Louvel (contact@noelios.com) |
Metadata | public Metadata(String name)(Code) | | Constructor.
Parameters: name - The unique name. |
Metadata | public Metadata(String name, String description)(Code) | | Constructor.
Parameters: name - The unique name. Parameters: description - The description. |
getDescription | public String getDescription()(Code) | | Returns the description.
The description. |
getName | public String getName()(Code) | | Returns the name (ex: "text/html" or "compress" or "iso-8851-1").
The name (ex: "text/html" or "compress" or "iso-8851-1"). |
hashCode | public int hashCode()(Code) | |
|
toString | public String toString()(Code) | | Returns the metadata name.
The metadata name. |
|
|