org.apache.fop.render.afp.modca
Class AbstractAFPObject
java.lang.Object
org.apache.fop.render.afp.modca.AbstractAFPObject
- Direct Known Subclasses:
- AbstractDescriptor, AbstractNamedAFPObject, ImageCellPosition, ImageContent, ImageDataDescriptor, ImageInputDescriptor, ImageOutputControl, ImageRasterData, ImageSegment, ImageSizeParameter, MapCodedFont, MapPageOverlay, NoOperation, ObjectAreaPosition, PresentationTextData, TagLogicalElement
public abstract class AbstractAFPObject
- extends java.lang.Object
This is the base class for all data stream objects. Page objects are
responsible for building and generating the binary datastream in an
AFP format.
Field Summary |
protected static org.apache.commons.logging.Log |
log
Static logging instance |
Method Summary |
abstract void |
writeDataStream(java.io.OutputStream os)
DataStream objects must implement the writeDataStream()
method to write its data to the given OutputStream |
protected void |
writeObjectList(java.util.List afpObjects,
java.io.OutputStream os)
Help method to write a set of AFPObjects to the AFP datastream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
- Static logging instance
AbstractAFPObject
public AbstractAFPObject()
writeDataStream
public abstract void writeDataStream(java.io.OutputStream os)
throws java.io.IOException
- DataStream objects must implement the writeDataStream()
method to write its data to the given OutputStream
- Parameters:
os
- The outputsteam stream
- Throws:
java.io.IOException
writeObjectList
protected void writeObjectList(java.util.List afpObjects,
java.io.OutputStream os)
throws java.io.IOException
- Help method to write a set of AFPObjects to the AFP datastream.
- Parameters:
afpObjects
- a list of AFPObjectsos
- The stream to write to
- Throws:
java.io.IOException
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.