|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectannas.graph.export.XMLExporter<N,A>
N
- Node typeA
- Arc typepublic class XMLExporter<N,A extends ArcInterface<N>>
Exports the graph to xml
Constructor Summary | |
---|---|
XMLExporter()
|
|
XMLExporter(java.io.OutputStream ops)
|
Method Summary | |
---|---|
void |
export(GraphInterface<N,A> graph)
Exports the provided graph. |
void |
export(java.io.OutputStream pw,
GraphInterface<N,A> graph)
Exports the provided graph. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLExporter()
public XMLExporter(java.io.OutputStream ops)
Method Detail |
---|
public void export(java.io.OutputStream pw, GraphInterface<N,A> graph)
export
in interface Exporter<N,A extends ArcInterface<N>>
pw
- Stream to output the graph tograph
- Graph to exportpublic void export(GraphInterface<N,A> graph)
export
in interface Exporter<N,A extends ArcInterface<N>>
graph
- Graph to export
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |