magoffin.matt.ma2.image.awt
Class BaseAwtMediaEffect
java.lang.Object
magoffin.matt.ma2.image.awt.BaseAwtMediaEffect
- All Implemented Interfaces:
- AwtMediaEffect, MediaEffect
- Direct Known Subclasses:
- BumpMapEffect, CompositeEffect, RotateEffect, ScaleEffect
public abstract class BaseAwtMediaEffect
- extends java.lang.Object
- implements AwtMediaEffect
Base implementation of AwtMediaEffect
.
The configurable properties of this class are:
- mediaBiz
- The
MediaBiz
implementation to use.
- Version:
- $Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
- Author:
- Matt Magoffin (spamsqr@msqr.us)
Field Summary |
protected org.apache.log4j.Logger |
log
A class logger. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.log4j.Logger log
- A class logger.
BaseAwtMediaEffect
public BaseAwtMediaEffect()
apply
public void apply(MediaItem item,
MediaRequest request,
MediaResponse response)
- Description copied from interface:
MediaEffect
- Apply the effect.
MediaHandler
and MediaEffect
implementations can utilize
the MediaRequest.getParameters()
map to keep track of request
processing state during processing. Different implementations of
MediaHandler
will support different implementations of
MediaEffects
.
- Specified by:
apply
in interface MediaEffect
- Parameters:
item
- the item being processedrequest
- the current requestresponse
- the current response
getMediaBiz
public MediaBiz getMediaBiz()
- Returns:
- Returns the mediaBiz.
setMediaBiz
public void setMediaBiz(MediaBiz mediaBiz)
- Parameters:
mediaBiz
- The mediaBiz to set.