org.apache.cocoon.reading.imageop
Class ResizeOperation

java.lang.Object
  extended by org.apache.cocoon.reading.imageop.ResizeOperation
All Implemented Interfaces:
Component, ImageOperation

public class ResizeOperation
extends Object
implements ImageOperation


Field Summary
 
Fields inherited from interface org.apache.cocoon.reading.imageop.ImageOperation
ROLE
 
Constructor Summary
ResizeOperation()
           
 
Method Summary
 WritableRaster apply(WritableRaster image)
           
 String getKey()
           
 void setPrefix(String prefix)
           
 void setup(Parameters params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResizeOperation

public ResizeOperation()
Method Detail

setPrefix

public void setPrefix(String prefix)
Specified by:
setPrefix in interface ImageOperation

setup

public void setup(Parameters params)
           throws ProcessingException
Specified by:
setup in interface ImageOperation
Throws:
ProcessingException

apply

public WritableRaster apply(WritableRaster image)
Specified by:
apply in interface ImageOperation

getKey

public String getKey()
Specified by:
getKey in interface ImageOperation


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.