|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object infovis.io.AbstractWriter infovis.io.AbstractXMLWriter infovis.graph.io.GraphMLWriter
public class GraphMLWriter
Writer for the GraphML format.
Constructor Summary | |
---|---|
GraphMLWriter(OutputStream out,
Graph graph)
|
Method Summary | |
---|---|
void |
addAllColumnLabels()
Adds the name of all the non-internal Columns to the list of written columns. |
void |
addAllEdgeLabels()
|
void |
addEdgeLabel(String name)
|
String |
getEdgeId(int edge)
|
Column |
getEdgeIdColumn()
|
String |
getEdgeLabelAt(int col)
|
ArrayList |
getEdgeLabels()
|
String |
getVertexId(int node)
|
Column |
getVertexIdColumn()
|
boolean |
isInterlaced()
Returns the interlaced. |
void |
setEdgeIdColumn(Column edgeIdColumn)
|
void |
setInterlaced(boolean interlaced)
Sets the interlaced. |
void |
setVertexIdColumn(Column vertexIdColumn)
|
boolean |
write()
Abstract method that performs the actual writing of data. |
Methods inherited from class infovis.io.AbstractXMLWriter |
---|
indent, isIdenting, setIdenting |
Methods inherited from class infovis.io.AbstractWriter |
---|
addColumnLabel, flush, getColumnLabelAt, getColumnLabels, getEncoding, getName, getOut, getWriter, namedType, setEncoding, write, write, writeBuffer, writeln |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphMLWriter(OutputStream out, Graph graph)
Method Detail |
---|
public void addEdgeLabel(String name)
public String getVertexId(int node)
public String getEdgeId(int edge)
public void addAllEdgeLabels()
public void addAllColumnLabels()
AbstractWriter
addAllColumnLabels
in class AbstractWriter
public String getEdgeLabelAt(int col)
public ArrayList getEdgeLabels()
public boolean write()
AbstractWriter
write
in class AbstractWriter
AbstractWriter.write()
public boolean isInterlaced()
public void setInterlaced(boolean interlaced)
interlaced
- The interlaced to setpublic Column getEdgeIdColumn()
public void setEdgeIdColumn(Column edgeIdColumn)
public Column getVertexIdColumn()
public void setVertexIdColumn(Column vertexIdColumn)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |