<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</A>
<IMGSRC="../../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.io.gd.mxGdDocument</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>mxGdDocument</B><DT>extends <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></DL>
</PRE>
<P>
This class is a representation of a GD file.<br/>
Allows access to the nodes and edges of the graph.
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/gd/mxGdDocument.mxGDParseState.html"title="enum in com.mxgraph.io.gd">mxGdDocument.mxGDParseState</A></B></CODE>
<BR>
Represents the different states in the parse of a file.</TD>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A></CODE></FONT></TD>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../../com/mxgraph/io/gd/mxGdEdge.html"title="class in com.mxgraph.io.gd">mxGdEdge</A>></CODE></FONT></TD>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../../com/mxgraph/io/gd/mxGdNode.html"title="class in com.mxgraph.io.gd">mxGdNode</A>></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/gd/mxGdDocument.html#parse(java.lang.String)">parse</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> gd)</CODE>
<BR>
Parses the String with the file content and loads into the document,
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/gd/mxGdDocument.html#setEdges(java.util.List)">setEdges</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../../com/mxgraph/io/gd/mxGdEdge.html"title="class in com.mxgraph.io.gd">mxGdEdge</A>> edges)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/gd/mxGdDocument.html#setNodes(java.util.List)">setNodes</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../../com/mxgraph/io/gd/mxGdNode.html"title="class in com.mxgraph.io.gd">mxGdNode</A>> nodes)</CODE>
<THALIGN="left"><B>Methods inherited from class java.lang.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</A></CODE></TD>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../../com/mxgraph/io/gd/mxGdEdge.html"title="class in com.mxgraph.io.gd">mxGdEdge</A>><B>getEdges</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the list of edges.</DL>
</DD>
</DL>
<HR>
<ANAME="getNodes()"><!----></A><H3>
getNodes</H3>
<PRE>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../../com/mxgraph/io/gd/mxGdNode.html"title="class in com.mxgraph.io.gd">mxGdNode</A>><B>getNodes</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the list of nodes.</DL>
</DD>
</DL>
<HR>
<ANAME="setEdges(java.util.List)"><!----></A><H3>
setEdges</H3>
<PRE>
public void <B>setEdges</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../../com/mxgraph/io/gd/mxGdEdge.html"title="class in com.mxgraph.io.gd">mxGdEdge</A>> edges)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setNodes(java.util.List)"><!----></A><H3>
setNodes</H3>
<PRE>
public void <B>setNodes</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</A><<AHREF="../../../../com/mxgraph/io/gd/mxGdNode.html"title="class in com.mxgraph.io.gd">mxGdNode</A>> nodes)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="parse(java.lang.String)"><!----></A><H3>
parse</H3>
<PRE>
public void <B>parse</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> gd)</PRE>
<DL>
<DD>Parses the String with the file content and loads into the document,
the data of nodes and edges.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>gd</CODE> - String with the file content.</DL>
</DD>
</DL>
<HR>
<ANAME="getDocumentString()"><!----></A><H3>
getDocumentString</H3>
<PRE>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A><B>getDocumentString</B>()</PRE>
<DL>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the String representation of the document.</DL>