public interface RepeatedOutput
Please note that the only requirement for this output is that the number
of lines which it consumes MUST be constant across all invocations of the
render(com.goldencode.p2j.util.Stream)
method. This is necessary to properly determine when a
header/footer needs to be emitted. The output within the given number of
lines may vary (e.g. page numbers may increment).
Modifier and Type | Method and Description |
---|---|
int |
height()
Returns the height of the output as the number of lines that will be
generated when
render(com.goldencode.p2j.util.Stream) is called. |
void |
render(Stream out)
Generate output and write it to the given stream.
|
int height()
render(com.goldencode.p2j.util.Stream)
is called.void render(Stream out)
out
- A stream that is opened for output.