com.elasticpath.domain.misc.impl
Class ImageRenderResponseImpl

java.lang.Object
  extended by com.elasticpath.domain.impl.AbstractEpDomainImpl
      extended by com.elasticpath.domain.impl.AbstractTransientImpl
          extended by com.elasticpath.domain.misc.impl.ImageRenderResponseImpl
All Implemented Interfaces:
EpDomain, ImageRenderResponse, Transient, java.io.Serializable

public class ImageRenderResponseImpl
extends AbstractTransientImpl
implements ImageRenderResponse

Represents a response to render a image.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
          Serial version id.
 
Constructor Summary
ImageRenderResponseImpl()
           
 
Method Summary
 java.lang.String getImageType()
          Return the image type.
 java.lang.String getMimeType()
          Return the mime type.
 java.awt.image.RenderedImage getScaledImage()
          Returns the scaled image.
 void setImageType(java.lang.String imageType)
          Sets the image type.
 void setMimeType(java.lang.String mimeType)
          Sets the mime type.
 void setScaledImage(java.awt.image.RenderedImage scaledImage)
          Sets the scaled image.
 
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl
getElasticPath, setElasticPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Serial version id.

See Also:
Constant Field Values
Constructor Detail

ImageRenderResponseImpl

public ImageRenderResponseImpl()
Method Detail

getImageType

public java.lang.String getImageType()
Return the image type.

Specified by:
getImageType in interface ImageRenderResponse
Returns:
the image type

getMimeType

public java.lang.String getMimeType()
Return the mime type.

Specified by:
getMimeType in interface ImageRenderResponse
Returns:
the mime type

getScaledImage

public java.awt.image.RenderedImage getScaledImage()
Returns the scaled image.

Specified by:
getScaledImage in interface ImageRenderResponse
Returns:
the scaled image

setImageType

public void setImageType(java.lang.String imageType)
Sets the image type.

Specified by:
setImageType in interface ImageRenderResponse
Parameters:
imageType - the image type

setMimeType

public void setMimeType(java.lang.String mimeType)
Sets the mime type.

Specified by:
setMimeType in interface ImageRenderResponse
Parameters:
mimeType - the mime type

setScaledImage

public void setScaledImage(java.awt.image.RenderedImage scaledImage)
Sets the scaled image.

Specified by:
setScaledImage in interface ImageRenderResponse
Parameters:
scaledImage - the scaled image