public class SimileFormatWriter extends StructureWriter
Constructor and Description |
---|
SimileFormatWriter()
Instantiates a new Simile format writer.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addSimileElement(DataRecord rec)
Adds a Simile element for the associated DataRecord.
|
void |
clear()
Clear any stored settings and data.
|
void |
close()
Close this writer.
|
void |
writeData(java.util.Collection<DataRecord> data)
Write the collection of data.
|
void |
writeGraph(Graph<DataRecord,DataRecord> graph)
Write graph data.
|
void |
writeGrid(Grid<DataRecord> grid)
Write Grid data.
|
void |
writeTree(Tree<DataRecord> tree)
Write tree data.
|
getContentType, getDestination, getWriter, setDestination, setWriter
public SimileFormatWriter()
protected void addSimileElement(DataRecord rec)
rec
- the SataRecordpublic void clear()
clear
in class StructureWriter
public void close()
public void writeData(java.util.Collection<DataRecord> data)
data
- the data collectionpublic void writeGraph(Graph<DataRecord,DataRecord> graph)
writeGraph
in class StructureWriter
graph
- the graphpublic void writeGrid(Grid<DataRecord> grid)
writeGrid
in class StructureWriter
grid
- the gridpublic void writeTree(Tree<DataRecord> tree)
writeTree
in class StructureWriter
tree
- the tree data