fop 0.95

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

java.lang.Object
  extended by org.apache.fop.render.afp.modca.AbstractAFPObject
      extended by org.apache.fop.render.afp.modca.ImageInputDescriptor

public class ImageInputDescriptor
extends AbstractAFPObject

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.AbstractAFPObject
log
 
Constructor Summary
ImageInputDescriptor()
           
 
Method Summary
 void setResolution(int resolution)
          Sets the resolution information for the raster image the default value is a resolution of 240 dpi.
 void writeDataStream(java.io.OutputStream os)
          Accessor method to write the AFP datastream for the Image Input Descriptor
 
Methods inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject
writeObjectList
 
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

writeDataStream

public void writeDataStream(java.io.OutputStream os)
                     throws java.io.IOException
Accessor method to write the AFP datastream for the Image Input Descriptor

Specified by:
writeDataStream in class AbstractAFPObject
Parameters:
os - The stream to write to
Throws:
java.io.IOException - if an I/O exception occurred

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

fop 0.95

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.