public class StreamingTable
extends java.lang.Object
ExtendedXMLBuilder
its less functional than a Table
but does not need to keep
all the table contents in memory.Constructor and Description |
---|
StreamingTable(SimpleXMLBuilder sb,
java.lang.String... headings) |
Modifier and Type | Method and Description |
---|---|
void |
addRow(java.lang.Object... data)
Add a row
|
void |
close()
finish the table
|
static StreamingTable |
getInstance(ContentBuilder cb,
java.lang.String... headings) |
public StreamingTable(SimpleXMLBuilder sb, java.lang.String... headings)
sb
- ExtendedXMLBuilder
to add too.headings
- table column headingspublic static StreamingTable getInstance(ContentBuilder cb, java.lang.String... headings)
public void addRow(java.lang.Object... data)
data
- public void close()