<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>
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>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxGraphMlCodec.html#addEdgeData(com.mxgraph.io.graphml.mxGraphMlEdge, com.mxgraph.model.mxCell)">addEdgeData</a></strong>(<ahref="../../../com/mxgraph/io/graphml/mxGraphMlEdge.html"title="class in com.mxgraph.io.graphml">mxGraphMlEdge</a> gmlEdge,
<ahref="../../../com/mxgraph/model/mxCell.html"title="class in com.mxgraph.model">mxCell</a> v)</code>
<divclass="block">Add the edge data in the gmlEdge.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxGraphMlCodec.html#addNodeData(com.mxgraph.io.graphml.mxGraphMlNode, com.mxgraph.model.mxCell)">addNodeData</a></strong>(<ahref="../../../com/mxgraph/io/graphml/mxGraphMlNode.html"title="class in com.mxgraph.io.graphml">mxGraphMlNode</a> gmlNode,
<ahref="../../../com/mxgraph/model/mxCell.html"title="class in com.mxgraph.model">mxCell</a> v)</code>
<divclass="block">Add the node data in the gmlNode.</div>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxGraphMlCodec.html#decode(org.w3c.dom.Document, com.mxgraph.view.mxGraph)">decode</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,
<ahref="../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</a> graph)</code>
<divclass="block">Receives a GraphMl document and parses it generating a new graph that is inserted in graph.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>static <ahref="../../../com/mxgraph/io/graphml/mxGraphMlGraph.html"title="class in com.mxgraph.io.graphml">mxGraphMlGraph</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxGraphMlCodec.html#decodeGraph(com.mxgraph.view.mxGraph, java.lang.Object, com.mxgraph.io.graphml.mxGraphMlGraph)">decodeGraph</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,
<tdclass="colFirst"><code>static <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></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxGraphMlCodec.html#encode(com.mxgraph.view.mxGraph)">encode</a></strong>(<ahref="../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</a> graph)</code>
<divclass="block">Generates a Xml document with the cells in the graph.</div>
<tdclass="colFirst"><code>static <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></code></td>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/io/mxGraphMlCodec.html#encodeXML(com.mxgraph.io.graphml.mxGraphMlGraph)">encodeXML</a></strong>(<ahref="../../../com/mxgraph/io/graphml/mxGraphMlGraph.html"title="class in com.mxgraph.io.graphml">mxGraphMlGraph</a> gmlGraph)</code>
<divclass="block">Generates a Xml document with the gmlGraph.</div>
<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 static void decode(<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,
<ahref="../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</a> graph)</pre>
<divclass="block">Receives a GraphMl document and parses it generating a new graph that is inserted in graph.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>document</code> - XML to be parsed</dd><dd><code>graph</code> - Graph where the parsed graph is included.</dd></dl>
<pre>public static <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> encodeXML(<ahref="../../../com/mxgraph/io/graphml/mxGraphMlGraph.html"title="class in com.mxgraph.io.graphml">mxGraphMlGraph</a> gmlGraph)</pre>
<pre>public static <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> encode(<ahref="../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</a> graph)</pre>
<pre>public static <ahref="../../../com/mxgraph/io/graphml/mxGraphMlGraph.html"title="class in com.mxgraph.io.graphml">mxGraphMlGraph</a> decodeGraph(<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,
<ahref="../../../com/mxgraph/io/graphml/mxGraphMlGraph.html"title="class in com.mxgraph.io.graphml">mxGraphMlGraph</a> gmlGraph)</pre>
<divclass="block">Returns a Gml graph with the data of the vertexes and edges in the graph.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>gmlGraph</code> - Gml document where the elements are put.</dd><dd><code>parent</code> - Parent cell of the vertexes and edges to be added.</dd><dd><code>graph</code> - Graph that contains the vertexes and edges.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>Returns the document with the elements added.</dd></dl>
<pre>public static void addNodeData(<ahref="../../../com/mxgraph/io/graphml/mxGraphMlNode.html"title="class in com.mxgraph.io.graphml">mxGraphMlNode</a> gmlNode,
<ahref="../../../com/mxgraph/model/mxCell.html"title="class in com.mxgraph.model">mxCell</a> v)</pre>
<divclass="block">Add the node data in the gmlNode.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>gmlNode</code> - Gml node where the data add.</dd><dd><code>v</code> - mxCell where data are obtained.</dd></dl>
<pre>public static void addEdgeData(<ahref="../../../com/mxgraph/io/graphml/mxGraphMlEdge.html"title="class in com.mxgraph.io.graphml">mxGraphMlEdge</a> gmlEdge,
<ahref="../../../com/mxgraph/model/mxCell.html"title="class in com.mxgraph.model">mxCell</a> v)</pre>
<divclass="block">Add the edge data in the gmlEdge.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>gmlEdge</code> - Gml edge where the data add.</dd><dd><code>v</code> - mxCell where data are obtained.</dd></dl>