public class SemanticSvgWriter extends StructureWriter
SvgRenderer to perform the actual
SVG generation. The SemanticSvgWriter adds the management of the data
structures.| Constructor and Description |
|---|
SemanticSvgWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear any stored settings and data
|
void |
close()
Close this writer.
|
java.lang.String |
getContentType()
Get the content type generated by this writer.
|
SvgRenderer<DataRecord,DataRecord> |
getSvgRenderer()
Get the SVG renderer
|
void |
setSvgRenderer(SvgRenderer<DataRecord,DataRecord> svgRenderer)
Set the SVG Renderer
|
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
|
getDestination, getWriter, setDestination, setWriterpublic void clear()
clear in class StructureWriterpublic void close()
public java.lang.String getContentType()
getContentType in class WebFormatWriter<DataRecord>image/svg+xmlpublic SvgRenderer<DataRecord,DataRecord> getSvgRenderer()
public void setSvgRenderer(SvgRenderer<DataRecord,DataRecord> svgRenderer)
svgRenderer - the SVG Rendererpublic 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