org.apache.fop.render.afp.modca
Class AbstractAFPObject
java.lang.Object
org.apache.fop.render.afp.modca.AbstractAFPObject
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.
protected static Log | log - Static logging instance
|
abstract void | writeDataStream(OutputStream os) - DataStream objects must implement the writeDataStream()
method to write its data to the given OutputStream
|
protected void | writeObjectList(List afpObjects, OutputStream os) - Help method to write a set of AFPObjects to the AFP datastream.
|
log
protected static final Log log
Static logging instance
writeDataStream
public abstract void writeDataStream(OutputStream os)
throws IOException
DataStream objects must implement the writeDataStream()
method to write its data to the given OutputStream
os
- The outputsteam stream
writeObjectList
protected void writeObjectList(List afpObjects,
OutputStream os)
throws IOException
Help method to write a set of AFPObjects to the AFP datastream.
afpObjects
- a list of AFPObjectsos
- The stream to write to
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.