org.apache.fop.render.afp.modca
Class ImageInputDescriptor

java.lang.Object
  extended byorg.apache.fop.render.afp.modca.AFPObject
      extended byorg.apache.fop.render.afp.modca.ImageInputDescriptor

public class ImageInputDescriptor
extends AFPObject

The IM Image Input Descriptor structured field contains the descriptor data for an IM image data object. This data specifies the resolution, size, and color of the IM image.


Field Summary
 
Fields inherited from class org.apache.fop.render.afp.modca.AFPObject
LOGGER
 
Constructor Summary
ImageInputDescriptor()
           
 
Method Summary
 byte[] getDataStream()
          Get the AFP data stream for ImageInputDescriptor
 void setResolution(int resolution)
          Sets the resolution information for the raster image the default value is a resolution of 240 dpi.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageInputDescriptor

public ImageInputDescriptor()
Method Detail

getDataStream

public byte[] getDataStream()
Get the AFP data stream for ImageInputDescriptor

Specified by:
getDataStream in class AFPObject
Returns:
byte[] The AFP data stream

setResolution

public void setResolution(int resolution)
Sets the resolution information for the raster image the default value is a resolution of 240 dpi.

Parameters:
resolution - The resolution value