public class mxGdDocument
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
mxGdDocument.mxGDParseState
Represents the different states in the parse of a file.
|
Constructor and Description |
---|
mxGdDocument() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDocumentString() |
java.util.List<mxGdEdge> |
getEdges() |
java.util.List<mxGdNode> |
getNodes() |
void |
parse(java.lang.String gd)
Parses the String with the file content and loads into the document,
the data of nodes and edges.
|
void |
setEdges(java.util.List<mxGdEdge> edges) |
void |
setNodes(java.util.List<mxGdNode> nodes) |
public java.util.List<mxGdEdge> getEdges()
public java.util.List<mxGdNode> getNodes()
public void setEdges(java.util.List<mxGdEdge> edges)
public void setNodes(java.util.List<mxGdNode> nodes)
public void parse(java.lang.String gd)
gd
- String with the file content.public java.lang.String getDocumentString()
Copyright (c) 2010 Gaudenz Alder. All rights reserved.