<li><ahref="../../../../com/mxgraph/io/graphml/mxGraphMlEdge.html"title="class in com.mxgraph.io.graphml"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/mxgraph/io/graphml/mxGraphMlKey.html"title="class in com.mxgraph.io.graphml"><spanclass="strong">Next Class</span></a></li>
<li><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></li>
<li>
<ulclass="inheritance">
<li>com.mxgraph.io.graphml.mxGraphMlGraph</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<hr>
<br>
<pre>public class <spanclass="strong">mxGraphMlGraph</span>
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></pre>
<divclass="block">Represents a Graph element in the GML Structure.</div>
<divclass="block">Constructs an empty graph.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colOne"><code><strong><ahref="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#mxGraphMlGraph(org.w3c.dom.Element)">mxGraphMlGraph</a></strong>(<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>
<divclass="block">Constructs a graph from a xml graph element.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><strong><ahref="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#mxGraphMlGraph(java.lang.String, java.lang.String)">mxGraphMlGraph</a></strong>(<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>
<divclass="block">Constructs a graph with id and edge default direction.</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#addGraph(com.mxgraph.view.mxGraph, java.lang.Object)">addGraph</a></strong>(<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>
<divclass="block">Adds the elements represented for this graph model into the given graph.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../../com/mxgraph/io/graphml/mxGraphMlData.html"title="class in com.mxgraph.io.graphml">mxGraphMlData</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#dataEdgeKey(com.mxgraph.io.graphml.mxGraphMlEdge)">dataEdgeKey</a></strong>(<ahref="../../../../com/mxgraph/io/graphml/mxGraphMlEdge.html"title="class in com.mxgraph.io.graphml">mxGraphMlEdge</a> edge)</code>
<divclass="block">Returns the data element inside the edge that references to the key element
with name = KEY_EDGE_NAME.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static <ahref="../../../../com/mxgraph/io/graphml/mxGraphMlData.html"title="class in com.mxgraph.io.graphml">mxGraphMlData</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#dataNodeKey(com.mxgraph.io.graphml.mxGraphMlNode)">dataNodeKey</a></strong>(<ahref="../../../../com/mxgraph/io/graphml/mxGraphMlNode.html"title="class in com.mxgraph.io.graphml">mxGraphMlNode</a> node)</code>
<divclass="block">Returns the data element inside the node that references to the key element
with name = KEY_NODE_NAME.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><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></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#generateElement(org.w3c.dom.Document)">generateElement</a></strong>(<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>
<divclass="block">Generates a Key Element from this class.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><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></td>
<tdclass="colFirst"><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></td>
<tdclass="colFirst"><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></td>
<tdclass="colFirst"><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></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#hasData(com.mxgraph.io.graphml.mxGraphMlNode)">hasData</a></strong>(<ahref="../../../../com/mxgraph/io/graphml/mxGraphMlNode.html"title="class in com.mxgraph.io.graphml">mxGraphMlNode</a> node)</code>
<divclass="block">Checks if the node has data elements inside.</div>
<divclass="block">Checks if the graph has child nodes or edges.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#setEdgedefault(java.lang.String)">setEdgedefault</a></strong>(<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>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#setEdges(java.util.List)">setEdges</a></strong>(<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>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#setId(java.lang.String)">setId</a></strong>(<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>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/io/graphml/mxGraphMlGraph.html#setNodes(java.util.List)">setNodes</a></strong>(<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> </td>
<h3>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></h3>
<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></li>
<pre>public mxGraphMlGraph(<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>
<divclass="block">Constructs a graph with id and edge default direction.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>id</code> - Graph's ID</dd><dd><code>edgedefault</code> - Edge Default direction.("directed" or "undirected")</dd></dl>
</li>
</ul>
<aname="mxGraphMlGraph()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>mxGraphMlGraph</h4>
<pre>public mxGraphMlGraph()</pre>
<divclass="block">Constructs an empty graph.</div>
</li>
</ul>
<aname="mxGraphMlGraph(org.w3c.dom.Element)">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>mxGraphMlGraph</h4>
<pre>public mxGraphMlGraph(<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>
<divclass="block">Constructs a graph from a xml graph element.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>graphElement</code> - Xml graph element.</dd></dl>
<pre>public void addGraph(<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>
<divclass="block">Adds the elements represented for this graph model into the given graph.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>graph</code> - Graph where the elements will be located</dd><dd><code>parent</code> - Parent of the cells to be added.</dd></dl>
<pre>public static boolean hasData(<ahref="../../../../com/mxgraph/io/graphml/mxGraphMlNode.html"title="class in com.mxgraph.io.graphml">mxGraphMlNode</a> node)</pre>
<divclass="block">Checks if the node has data elements inside.</div>
<pre>public static <ahref="../../../../com/mxgraph/io/graphml/mxGraphMlData.html"title="class in com.mxgraph.io.graphml">mxGraphMlData</a> dataNodeKey(<ahref="../../../../com/mxgraph/io/graphml/mxGraphMlNode.html"title="class in com.mxgraph.io.graphml">mxGraphMlNode</a> node)</pre>
<divclass="block">Returns the data element inside the node that references to the key element
<pre>public static <ahref="../../../../com/mxgraph/io/graphml/mxGraphMlData.html"title="class in com.mxgraph.io.graphml">mxGraphMlData</a> dataEdgeKey(<ahref="../../../../com/mxgraph/io/graphml/mxGraphMlEdge.html"title="class in com.mxgraph.io.graphml">mxGraphMlEdge</a> edge)</pre>
<divclass="block">Returns the data element inside the edge that references to the key element
<dt><spanclass="strong">Returns:</span></dt><dd>The required data. null if not found.</dd></dl>
</li>
</ul>
<aname="getEdgedefault()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getEdgedefault</h4>
<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> getEdgedefault()</pre>
</li>
</ul>
<aname="setEdgedefault(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setEdgedefault</h4>
<pre>public void setEdgedefault(<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>
</li>
</ul>
<aname="getId()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getId</h4>
<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> getId()</pre>
</li>
</ul>
<aname="setId(java.lang.String)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setId</h4>
<pre>public void setId(<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>
</li>
</ul>
<aname="getNodes()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getNodes</h4>
<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>> getNodes()</pre>
</li>
</ul>
<aname="setNodes(java.util.List)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setNodes</h4>
<pre>public void setNodes(<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>
</li>
</ul>
<aname="getEdges()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getEdges</h4>
<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>> getEdges()</pre>
</li>
</ul>
<aname="setEdges(java.util.List)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setEdges</h4>
<pre>public void setEdges(<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>
</li>
</ul>
<aname="isEmpty()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>isEmpty</h4>
<pre>public boolean isEmpty()</pre>
<divclass="block">Checks if the graph has child nodes or edges.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>Returns <code>true</code> if the graph hasn't child nodes or edges.</dd></dl>
</li>
</ul>
<aname="generateElement(org.w3c.dom.Document)">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>generateElement</h4>
<pre>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> generateElement(<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>
<divclass="block">Generates a Key Element from this class.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>document</code> - Document where the key Element will be inserted.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the generated Elements.</dd></dl>
<li><ahref="../../../../com/mxgraph/io/graphml/mxGraphMlEdge.html"title="class in com.mxgraph.io.graphml"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/mxgraph/io/graphml/mxGraphMlKey.html"title="class in com.mxgraph.io.graphml"><spanclass="strong">Next Class</span></a></li>