Package org.apache.fop.afp
Class AbstractAFPPainter
- java.lang.Object
-
- org.apache.fop.afp.AbstractAFPPainter
-
- Direct Known Subclasses:
AFPBorderPainter
,AFPDitheredRectanglePainter
,AFPRectanglePainter
public abstract class AbstractAFPPainter extends java.lang.Object
A base AFP painter
-
-
Field Summary
Fields Modifier and Type Field Description protected DataStream
dataStream
data streamprotected static org.apache.commons.logging.Log
log
Static logging instanceprotected AFPPaintingState
paintingState
painting state
-
Constructor Summary
Constructors Constructor Description AbstractAFPPainter(AFPPaintingState paintingState, DataStream dataStream)
Main constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
paint(PaintingInfo paintInfo)
Paints the painting item
-
-
-
Field Detail
-
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 Detail
-
AbstractAFPPainter
public AbstractAFPPainter(AFPPaintingState paintingState, DataStream dataStream)
Main constructor- Parameters:
paintingState
- the AFP painting statedataStream
- the AFP Datastream
-
-
Method Detail
-
paint
public abstract void paint(PaintingInfo paintInfo) throws java.io.IOException
Paints the painting item- Parameters:
paintInfo
- the painting information- Throws:
java.io.IOException
- if an I/O error occurs
-
-