public class CommonMLWriter extends StructureWriter
Constructor and Description |
---|
CommonMLWriter()
Create a new CommonMLWriter
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear any stored settings and data
|
void |
close()
Close this writer.
|
void |
writeData(java.util.Collection<DataRecord> dataset)
Write a dataset.
|
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 void clear()
clear
in class StructureWriter
public void close()
public void writeData(java.util.Collection<DataRecord> dataset)
dataset
- the dataset of recordspublic 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