Class AbstractAFPPainter

java.lang.Object
org.apache.fop.afp.AbstractAFPPainter
Direct Known Subclasses:
AFPBorderPainter, AFPDitheredRectanglePainter, AFPRectanglePainter

public abstract class AbstractAFPPainter extends Object
A base AFP painter
  • Field Details

    • log

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

      protected final DataStream dataStream
      data stream
    • paintingState

      protected final AFPPaintingState paintingState
      painting state
  • Constructor Details

    • AbstractAFPPainter

      public AbstractAFPPainter(AFPPaintingState paintingState, DataStream dataStream)
      Main constructor
      Parameters:
      paintingState - the AFP painting state
      dataStream - the AFP Datastream
  • Method Details

    • paint

      public abstract void paint(PaintingInfo paintInfo) throws IOException
      Paints the painting item
      Parameters:
      paintInfo - the painting information
      Throws:
      IOException - if an I/O error occurs