org.opentox.formatters
Class AlgorithmYamlFormatter

java.lang.Object
  extended by org.opentox.error.ErrorSource
      extended by org.opentox.formatters.AbstractAlgorithmFormatter
          extended by org.opentox.formatters.AlgorithmYamlFormatter
All Implemented Interfaces:
IFormatter, IProne2Error

public class AlgorithmYamlFormatter
extends AbstractAlgorithmFormatter

Author:
OpenTox - http://www.opentox.org, Sopasakis Pantelis, Sarimveis Harry

Field Summary
private static org.restlet.data.MediaType mime
           
 
Fields inherited from class org.opentox.formatters.AbstractAlgorithmFormatter
metainf
 
Fields inherited from class org.opentox.error.ErrorSource
errorRep
 
Constructor Summary
AlgorithmYamlFormatter(AlgorithmMeta metainf)
           
 
Method Summary
 org.restlet.representation.Representation getRepresentation(org.restlet.data.MediaType mediatype)
          Returns the Corresponding Representation.
 
Methods inherited from class org.opentox.error.ErrorSource
getErrorRep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mime

private static final org.restlet.data.MediaType mime
Constructor Detail

AlgorithmYamlFormatter

public AlgorithmYamlFormatter(AlgorithmMeta metainf)
Method Detail

getRepresentation

public org.restlet.representation.Representation getRepresentation(org.restlet.data.MediaType mediatype)
Description copied from class: AbstractAlgorithmFormatter
Returns the Corresponding Representation.

Specified by:
getRepresentation in interface IFormatter
Specified by:
getRepresentation in class AbstractAlgorithmFormatter
Returns:
representation in proper media type.