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

java.lang.Object
  extended byorg.apache.fop.render.afp.modca.AFPObject
Direct Known Subclasses:
ActiveEnvironmentGroup, Document, EndPageGroup, ImageCellPosition, ImageInputDescriptor, ImageObject, ImageOutputControl, ImageRasterData, IncludeObject, IncludePageOverlay, IncludePageSegment, MapCodedFont, MapPageOverlay, Overlay, PageDescriptor, PageGroup, PageObject, PresentationTextData, PresentationTextDescriptor, PresentationTextObject, TagLogicalElement

public abstract class AFPObject
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 LOGGER
          Static logging instance
 
Constructor Summary
AFPObject()
           
 
Method Summary
abstract  byte[] getDataStream()
          DataStream objects must implement the getDataStream() method to return a byte array of the AFP datastream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

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

Constructor Detail

AFPObject

public AFPObject()
Method Detail

getDataStream

public abstract byte[] getDataStream()
                              throws java.io.IOException
DataStream objects must implement the getDataStream() method to return a byte array of the AFP datastream.

Returns:
byte[] The AFP data stream
Throws:
java.io.IOException