org.opentox.formatters
Class AbstractModelFormatter

java.lang.Object
  extended by org.opentox.error.ErrorSource
      extended by org.opentox.formatters.AbstractModelFormatter
All Implemented Interfaces:
IFormatter, IProne2Error
Direct Known Subclasses:
ModelFormatter

public abstract class AbstractModelFormatter
extends ErrorSource
implements IFormatter

Author:
chung

Field Summary
protected  int model_id
           
 
Fields inherited from class org.opentox.error.ErrorSource
errorRep
 
Constructor Summary
AbstractModelFormatter(int model_id)
           
 
Method Summary
abstract  org.restlet.representation.Representation getRepresentation(org.restlet.data.MediaType mediatype)
           
 
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

model_id

protected int model_id
Constructor Detail

AbstractModelFormatter

public AbstractModelFormatter(int model_id)
Method Detail

getRepresentation

public abstract org.restlet.representation.Representation getRepresentation(org.restlet.data.MediaType mediatype)
Specified by:
getRepresentation in interface IFormatter