Package org.apache.fop.afp.ptoca
Class LineDataInfoProducer
- java.lang.Object
-
- org.apache.fop.afp.ptoca.LineDataInfoProducer
-
- All Implemented Interfaces:
PtocaConstants
,PtocaProducer
public class LineDataInfoProducer extends java.lang.Object implements PtocaProducer, PtocaConstants
PtocaProducer
implementation that interpretsAFPLineDataInfo
objects.
-
-
Field Summary
Fields Modifier and Type Field Description private AFPLineDataInfo
lineDataInfo
private static org.apache.commons.logging.Log
LOG
Static logging instance
-
Constructor Summary
Constructors Constructor Description LineDataInfoProducer(AFPLineDataInfo lineDataInfo)
Main constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static int
ensurePositive(int value)
void
produce(PtocaBuilder builder)
Produces the PTOCA control sequences by calling methods onPtocaBuilder
.
-
-
-
Field Detail
-
LOG
private static final org.apache.commons.logging.Log LOG
Static logging instance
-
lineDataInfo
private AFPLineDataInfo lineDataInfo
-
-
Constructor Detail
-
LineDataInfoProducer
public LineDataInfoProducer(AFPLineDataInfo lineDataInfo)
Main constructor.- Parameters:
lineDataInfo
- the info object
-
-
Method Detail
-
produce
public void produce(PtocaBuilder builder) throws java.io.IOException
Produces the PTOCA control sequences by calling methods onPtocaBuilder
.- Specified by:
produce
in interfacePtocaProducer
- Parameters:
builder
- the builder object- Throws:
java.io.IOException
- if an I/O error occurs
-
ensurePositive
private static int ensurePositive(int value)
-
-