fop 0.95

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

java.lang.Object
  extended by 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
 
Constructor Summary
AbstractAFPObject()
           
 
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
 

Field Detail

log

protected static final org.apache.commons.logging.Log log
Static logging instance

Constructor Detail

AbstractAFPObject

public AbstractAFPObject()
Method Detail

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 AFPObjects
os - The stream to write to
Throws:
java.io.IOException

fop 0.95

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