<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.graphml.mxGraphMlGraph</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>mxGraphMlGraph</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>
Constructs an empty graph.</TD>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#mxGraphMlGraph(org.w3c.dom.Element)">mxGraphMlGraph</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A> graphElement)</CODE>
<BR>
Constructs a graph from a xml graph element.</TD>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#mxGraphMlGraph(java.lang.String, java.lang.String)">mxGraphMlGraph</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> id,
<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> edgedefault)</CODE>
<BR>
Constructs a graph with id and edge default direction.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#addGraph(com.mxgraph.view.mxGraph, java.lang.Object)">addGraph</A></B>(<AHREF="../../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</A> graph,
<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> parent)</CODE>
<BR>
Adds the elements represented for this graph model into the given graph.</TD>
<CODE>static <AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlData.html"title="class in com.mxgraph.io.graphml">mxGraphMlData</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#dataEdgeKey(com.mxgraph.io.graphml.mxGraphMlEdge)">dataEdgeKey</A></B>(<AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlEdge.html"title="class in com.mxgraph.io.graphml">mxGraphMlEdge</A> edge)</CODE>
<BR>
Returns the data element inside the edge that references to the key element
<CODE>static <AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlData.html"title="class in com.mxgraph.io.graphml">mxGraphMlData</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#dataNodeKey(com.mxgraph.io.graphml.mxGraphMlNode)">dataNodeKey</A></B>(<AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlNode.html"title="class in com.mxgraph.io.graphml">mxGraphMlNode</A> node)</CODE>
<BR>
Returns the data element inside the node that references to the key element
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#generateElement(org.w3c.dom.Document)">generateElement</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</A> document)</CODE>
<BR>
Generates a Key Element from this class.</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/graphml/mxGraphMlEdge.html"title="class in com.mxgraph.io.graphml">mxGraphMlEdge</A>></CODE></FONT></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/graphml/mxGraphMlNode.html"title="class in com.mxgraph.io.graphml">mxGraphMlNode</A>></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#hasData(com.mxgraph.io.graphml.mxGraphMlNode)">hasData</A></B>(<AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlNode.html"title="class in com.mxgraph.io.graphml">mxGraphMlNode</A> node)</CODE>
<BR>
Checks if the node has data elements inside.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#setEdgedefault(java.lang.String)">setEdgedefault</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> edgedefault)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.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/graphml/mxGraphMlEdge.html"title="class in com.mxgraph.io.graphml">mxGraphMlEdge</A>> edge)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#setId(java.lang.String)">setId</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> id)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.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/graphml/mxGraphMlNode.html"title="class in com.mxgraph.io.graphml">mxGraphMlNode</A>> node)</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 <B>mxGraphMlGraph</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> id,
<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> edgedefault)</PRE>
<DL>
<DD>Constructs a graph with id and edge default direction.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>id</CODE> - Graph's ID<DD><CODE>edgedefault</CODE> - Edge Default direction.("directed" or "undirected")</DL>
public <B>mxGraphMlGraph</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A> graphElement)</PRE>
<DL>
<DD>Constructs a graph from a xml graph element.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>graphElement</CODE> - Xml graph element.</DL>
public void <B>addGraph</B>(<AHREF="../../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</A> graph,
<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> parent)</PRE>
<DL>
<DD>Adds the elements represented for this graph model into the given graph.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>graph</CODE> - Graph where the elements will be located<DD><CODE>parent</CODE> - Parent of the cells to be added.</DL>
public static boolean <B>hasData</B>(<AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlNode.html"title="class in com.mxgraph.io.graphml">mxGraphMlNode</A> node)</PRE>
public static <AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlData.html"title="class in com.mxgraph.io.graphml">mxGraphMlData</A><B>dataNodeKey</B>(<AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlNode.html"title="class in com.mxgraph.io.graphml">mxGraphMlNode</A> node)</PRE>
<DL>
<DD>Returns the data element inside the node that references to the key element
public static <AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlData.html"title="class in com.mxgraph.io.graphml">mxGraphMlData</A><B>dataEdgeKey</B>(<AHREF="../../../../com/mxgraph/io/graphml/mxGraphMlEdge.html"title="class in com.mxgraph.io.graphml">mxGraphMlEdge</A> edge)</PRE>
<DL>
<DD>Returns the data element inside the edge that references to the key element
<DT><B>Returns:</B><DD>The required data. null if not found.</DL>
</DD>
</DL>
<HR>
<ANAME="getEdgedefault()"><!----></A><H3>
getEdgedefault</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>getEdgedefault</B>()</PRE>
public void <B>setEdgedefault</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> edgedefault)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getId()"><!----></A><H3>
getId</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>getId</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setId(java.lang.String)"><!----></A><H3>
setId</H3>
<PRE>
public void <B>setId</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> id)</PRE>
<DL>
<DD><DL>
</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/graphml/mxGraphMlNode.html"title="class in com.mxgraph.io.graphml">mxGraphMlNode</A>><B>getNodes</B>()</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/graphml/mxGraphMlNode.html"title="class in com.mxgraph.io.graphml">mxGraphMlNode</A>> node)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getEdges()"><!----></A><H3>
getEdges</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/graphml/mxGraphMlEdge.html"title="class in com.mxgraph.io.graphml">mxGraphMlEdge</A>><B>getEdges</B>()</PRE>
<DL>
<DD><DL>
</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/graphml/mxGraphMlEdge.html"title="class in com.mxgraph.io.graphml">mxGraphMlEdge</A>> edge)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="isEmpty()"><!----></A><H3>
isEmpty</H3>
<PRE>
public boolean <B>isEmpty</B>()</PRE>
<DL>
<DD>Checks if the graph has child nodes or edges.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>Returns <code>true</code> if the graph hasn't child nodes or edges.</DL>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Element.html?is-external=true"title="class or interface in org.w3c.dom">Element</A><B>generateElement</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/org/w3c/dom/Document.html?is-external=true"title="class or interface in org.w3c.dom">Document</A> document)</PRE>
<DL>
<DD>Generates a Key Element from this class.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>document</CODE> - Document where the key Element will be inserted.
<DT><B>Returns:</B><DD>Returns the generated Elements.</DL>