org.apache.fop.render.afp.modca

Class ImageDataDescriptor


public class ImageDataDescriptor
extends AbstractAFPObject

Field Summary

Fields inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject

log

Constructor Summary

ImageDataDescriptor(int xresol, int yresol, int width, int height)
Constructor for a ImageDataDescriptor for the specified resolution, width and height.

Method Summary

void
writeDataStream(OutputStream os)
Accessor method to write the AFP datastream for the Image Data Descriptor

Methods inherited from class org.apache.fop.render.afp.modca.AbstractAFPObject

writeDataStream, writeObjectList

Constructor Details

ImageDataDescriptor

public ImageDataDescriptor(int xresol,
                           int yresol,
                           int width,
                           int height)
Constructor for a ImageDataDescriptor for the specified resolution, width and height.
Parameters:
xresol - The horizontal resolution of the image.
yresol - The vertical resolution of the image.
width - The width of the image.
height - The height of the height.

Method Details

writeDataStream

public void writeDataStream(OutputStream os)
            throws IOException
Accessor method to write the AFP datastream for the Image Data Descriptor
Overrides:
writeDataStream in interface AbstractAFPObject
Parameters:
os - The stream to write to

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