org.apache.fop.render.afp.modca
Class ImageInputDescriptor
java.lang.Object
org.apache.fop.render.afp.modca.AbstractAFPObject
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageInputDescriptor
public ImageInputDescriptor()
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
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.