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, setWriterpublic SimileFormatWriter()
protected void addSimileElement(DataRecord rec)
rec - the SataRecordpublic void clear()
clear in class StructureWriterpublic void close()
public void writeData(java.util.Collection<DataRecord> data)
data - the data collectionpublic void writeGraph(Graph<DataRecord,DataRecord> graph)
writeGraph in class StructureWritergraph - the graphpublic void writeGrid(Grid<DataRecord> grid)
writeGrid in class StructureWritergrid - the gridpublic void writeTree(Tree<DataRecord> tree)
writeTree in class StructureWritertree - the tree data