com.ibm.mashups.enabler
Interface Representation

All Superinterfaces:
Identifiable

public Representation
extends Identifiable

An interface that allows retrieving a URL and mime type representing the resource.


Method Summary
 String getID()
           Returns the mimetype of the representation.
 String getURL()
           Returns a full or absolute URL pointing to the resource in another representation.
 String getMimeType()
           Returns the mimetype of the content to which the URL is pointing to.
 
Methods inherited from interface com.ibm.mashups.enabler.Identifiable
getID
 

Method Detail

getID

String getID()
Returns the mimetype of the representation.

Returns:
the identifier; never null

getURL

String getURL()
Returns a full or absolute URL pointing to the resource in another representation.

Returns:
the URL pointing to the other representation; never null

getMimeType

String getMimeType()
Returns the mimetype of the content to which the URL is pointing to.

Returns:
the mimetype; never null


Copyright IBM Corp. 2010 All Rights Reserved.