org.opentox.interfaces
Interface IAlgorithmReporter

All Superinterfaces:
IProne2Error
All Known Implementing Classes:
AlgorithmReporter

public interface IAlgorithmReporter
extends IProne2Error

Interface for the production of representations for an algorithm resource with respect to a desired MIME type.

Version:
1.3.3 (Last update: Jan 11, 2009)
Author:
OpenTox - http://www.opentox.org/, Sopasakis Pantelis, Sarimveis Harry, Kolotouros Dimitris

Method Summary
 org.restlet.representation.Representation formatedRepresntation(org.restlet.data.MediaType media, AlgorithmEnum algorithm)
          Formatted representation of an algorithm given the algorithm and the desired MIME type.
 
Methods inherited from interface org.opentox.interfaces.IProne2Error
getErrorRep
 

Method Detail

formatedRepresntation

org.restlet.representation.Representation formatedRepresntation(org.restlet.data.MediaType media,
                                                                AlgorithmEnum algorithm)
Formatted representation of an algorithm given the algorithm and the desired MIME type.

Parameters:
media - Prefered mime.
algorithm - The algorithm for which the representation is needed.
Returns:
Representation of algorithm in prefered MIME type.