maxGraph/java/docs/com/mxgraph/io/class-use/mxCodec.html

511 lines
30 KiB
HTML
Raw Normal View History

2012-05-21 20:32:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
<html lang="en">
<head>
2018-11-06 11:46:01 +00:00
<!-- Generated by javadoc (10.0.2) on Tue Nov 06 11:32:18 UTC 2018 -->
<title>Uses of Class com.mxgraph.io.mxCodec (mxGraph 3.9.11 API Specification)</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="date" content="2018-11-06">
2014-04-01 11:30:48 +00:00
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
2018-11-06 11:46:01 +00:00
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
2016-06-02 09:57:18 +00:00
<script type="text/javascript" src="../../../../script.js"></script>
2018-11-06 11:46:01 +00:00
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-1.10.2.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
2014-04-01 11:30:48 +00:00
</head>
<body>
<script type="text/javascript"><!--
2016-06-02 09:57:18 +00:00
try {
if (location.href.indexOf('is-external=true') == -1) {
2018-11-06 11:46:01 +00:00
parent.document.title="Uses of Class com.mxgraph.io.mxCodec (mxGraph 3.9.11 API Specification)";
2016-06-02 09:57:18 +00:00
}
}
catch(err) {
2012-05-21 20:32:26 +00:00
}
2014-04-01 11:30:48 +00:00
//-->
2018-11-06 11:46:01 +00:00
var pathtoroot = "../../../../";loadScripts(document, 'script');</script>
2014-04-01 11:30:48 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2018-11-06 11:46:01 +00:00
<div class="fixedNav">
2012-05-21 20:32:26 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2016-06-02 09:57:18 +00:00
<div class="topNav"><a name="navbar.top">
2014-04-01 11:30:48 +00:00
<!-- -->
2016-06-02 09:57:18 +00:00
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
2018-11-06 11:46:01 +00:00
<div class="aboutLanguage"><p><b>mxGraph 3.9.11</b></p></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/mxgraph/io/class-use/mxCodec.html" target="_top">Frames</a></li>
2016-06-02 09:57:18 +00:00
<li><a href="mxCodec.html" target="_top">No&nbsp;Frames</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="navList" id="allclasses_navbar_top">
2016-06-02 09:57:18 +00:00
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
2014-04-01 11:30:48 +00:00
</ul>
2018-11-06 11:46:01 +00:00
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
2014-04-01 11:30:48 +00:00
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
</script>
2018-11-06 11:46:01 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2014-04-01 11:30:48 +00:00
</div>
2016-06-02 09:57:18 +00:00
<a name="skip.navbar.top">
2014-04-01 11:30:48 +00:00
<!-- -->
</a></div>
2012-05-21 20:32:26 +00:00
<!-- ========= END OF TOP NAVBAR ========= -->
2018-11-06 11:46:01 +00:00
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
2014-04-01 11:30:48 +00:00
<div class="header">
<h2 title="Uses of Class com.mxgraph.io.mxCodec" class="title">Uses of Class<br>com.mxgraph.io.mxCodec</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
2018-11-06 11:46:01 +00:00
<table class="useSummary" summary="Use table, listing packages, and an explanation">
2014-04-01 11:30:48 +00:00
<caption><span>Packages that use <a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
2018-11-06 11:46:01 +00:00
<th class="colFirst" scope="row"><a href="#com.mxgraph.io">com.mxgraph.io</a></th>
2014-04-01 11:30:48 +00:00
<td class="colLast">
<div class="block">This package contains all classes for input/output.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.mxgraph.io">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a> in <a href="../../../../com/mxgraph/io/package-summary.html">com.mxgraph.io</a></h3>
2018-11-06 11:46:01 +00:00
<table class="useSummary" summary="Use table, listing methods, and an explanation">
2014-04-01 11:30:48 +00:00
<caption><span>Methods in <a href="../../../../com/mxgraph/io/package-summary.html">com.mxgraph.io</a> with parameters of type <a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
2014-04-01 11:30:48 +00:00
</tr>
<tbody>
<tr class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxChildChangeCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxChildChangeCodec.html#afterDecode-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">afterDecode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;node,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;obj)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxGenericChangeCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxGenericChangeCodec.html#afterDecode-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">afterDecode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;node,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;obj)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#afterDecode-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">afterDecode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;node,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;obj)</code></th>
<td class="colLast">
<div class="block">Hook for subclassers to post-process the object after decoding.</div>
</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxRootChangeCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxRootChangeCodec.html#afterDecode-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">afterDecode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;node,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;obj)</code></th>
<td class="colLast">&nbsp;</td>
2017-06-27 11:43:19 +00:00
</tr>
<tr class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxTerminalChangeCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxTerminalChangeCodec.html#afterDecode-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">afterDecode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;node,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;obj)</code></th>
<td class="colLast">&nbsp;</td>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>org.w3c.dom.Node</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxCellCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxCellCodec.html#afterEncode-com.mxgraph.io.mxCodec-java.lang.Object-org.w3c.dom.Node-">afterEncode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;obj,
2018-11-06 11:46:01 +00:00
org.w3c.dom.Node&nbsp;node)</code></th>
<td class="colLast">
2017-06-27 11:43:19 +00:00
<div class="block">Encodes an mxCell and wraps the XML up inside the
XML of the user object (inversion).</div>
</td>
2014-04-01 11:30:48 +00:00
</tr>
2018-11-06 11:46:01 +00:00
<tr class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>org.w3c.dom.Node</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxChildChangeCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxChildChangeCodec.html#afterEncode-com.mxgraph.io.mxCodec-java.lang.Object-org.w3c.dom.Node-">afterEncode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;obj,
2018-11-06 11:46:01 +00:00
org.w3c.dom.Node&nbsp;node)</code></th>
<td class="colLast">&nbsp;</td>
2017-06-27 11:43:19 +00:00
</tr>
2018-11-06 11:46:01 +00:00
<tr class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>org.w3c.dom.Node</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#afterEncode-com.mxgraph.io.mxCodec-java.lang.Object-org.w3c.dom.Node-">afterEncode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;obj,
2018-11-06 11:46:01 +00:00
org.w3c.dom.Node&nbsp;node)</code></th>
<td class="colLast">
2016-06-02 09:57:18 +00:00
<div class="block">Hook for subclassers to post-process the node for the given object after
encoding and return the post-processed node.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
2018-11-06 11:46:01 +00:00
<tr class="altColor">
<td class="colFirst"><code>org.w3c.dom.Node</code></td>
<th class="colSecond" scope="row"><span class="typeNameLabel">mxRootChangeCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxRootChangeCodec.html#afterEncode-com.mxgraph.io.mxCodec-java.lang.Object-org.w3c.dom.Node-">afterEncode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
java.lang.Object&nbsp;obj,
org.w3c.dom.Node&nbsp;node)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
2014-04-01 11:30:48 +00:00
<tr class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>org.w3c.dom.Node</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxCellCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxCellCodec.html#beforeDecode-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">beforeDecode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;node,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;obj)</code></th>
<td class="colLast">
<div class="block">Decodes an mxCell and uses the enclosing XML node as
the user object for the cell (inversion).</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
<tr class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>org.w3c.dom.Node</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxChildChangeCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxChildChangeCodec.html#beforeDecode-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">beforeDecode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;node,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;into)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Reads the cells into the graph model.</div>
</td>
</tr>
<tr class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>org.w3c.dom.Node</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxModelCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxModelCodec.html#beforeDecode-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">beforeDecode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;node,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;into)</code></th>
<td class="colLast">
<div class="block">Reads the cells into the graph model.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
<tr class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>org.w3c.dom.Node</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#beforeDecode-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">beforeDecode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;node,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;obj)</code></th>
<td class="colLast">
<div class="block">Hook for subclassers to pre-process the node for the specified object
and return the node to be used for further processing by
<a href="../../../../com/mxgraph/io/mxObjectCodec.html#decode-com.mxgraph.io.mxCodec-org.w3c.dom.Node-"><code>mxObjectCodec.decode(mxCodec, Node)</code></a>.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
<tr class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>org.w3c.dom.Node</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxRootChangeCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxRootChangeCodec.html#beforeDecode-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">beforeDecode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;node,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;into)</code></th>
<td class="colLast">
<div class="block">Reads the cells into the graph model.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
<tr class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#beforeEncode-com.mxgraph.io.mxCodec-java.lang.Object-org.w3c.dom.Node-">beforeEncode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;obj,
2018-11-06 11:46:01 +00:00
org.w3c.dom.Node&nbsp;node)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Hook for subclassers to pre-process the object before encoding.</div>
</td>
</tr>
<tr class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#decode-com.mxgraph.io.mxCodec-org.w3c.dom.Node-">decode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
org.w3c.dom.Node&nbsp;node)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Parses the given node into the object or returns a new object
representing the given node.</div>
</td>
</tr>
<tr class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#decode-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">decode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;node,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;into)</code></th>
<td class="colLast">
<div class="block">Parses the given node into the object or returns a new object
representing the given node.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
<tr class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>java.lang.Object</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxStylesheetCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxStylesheetCodec.html#decode-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">decode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;node,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;into)</code></th>
<td class="colLast">
<div class="block">Decodes the given mxStylesheet.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#decodeAttribute-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">decodeAttribute</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;attr,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;obj)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Reads the given attribute into the specified object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#decodeAttributes-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">decodeAttributes</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;node,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;obj)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Decodes all attributes of the given node using decodeAttribute.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#decodeChild-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">decodeChild</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;child,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;obj)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Reads the specified child into the given object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#decodeChildren-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">decodeChildren</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;node,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;obj)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Decodec all children of the given node using decodeChild.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#decodeNode-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">decodeNode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;node,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;obj)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Calls decodeAttributes and decodeChildren for the given node.</div>
</td>
</tr>
<tr class="rowColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>org.w3c.dom.Node</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#encode-com.mxgraph.io.mxCodec-java.lang.Object-">encode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
java.lang.Object&nbsp;obj)</code></th>
<td class="colLast">
<div class="block">Encodes the specified object and returns a node representing then given
object.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
<tr class="altColor">
2017-11-24 16:16:54 +00:00
<td class="colFirst"><code>org.w3c.dom.Node</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxStylesheetCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxStylesheetCodec.html#encode-com.mxgraph.io.mxCodec-java.lang.Object-">encode</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
java.lang.Object&nbsp;obj)</code></th>
<td class="colLast">
<div class="block">Encodes the given mxStylesheet.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#encodeElements-com.mxgraph.io.mxCodec-java.lang.Object-org.w3c.dom.Node-">encodeElements</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;obj,
2018-11-06 11:46:01 +00:00
org.w3c.dom.Node&nbsp;node)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Encodes the child objects of arrays, maps and collections.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#encodeFields-com.mxgraph.io.mxCodec-java.lang.Object-org.w3c.dom.Node-">encodeFields</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;obj,
2018-11-06 11:46:01 +00:00
org.w3c.dom.Node&nbsp;node)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Encodes the declared fields of the given object into the given node.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxModelCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxModelCodec.html#encodeObject-com.mxgraph.io.mxCodec-java.lang.Object-org.w3c.dom.Node-">encodeObject</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;obj,
2018-11-06 11:46:01 +00:00
org.w3c.dom.Node&nbsp;node)</code></th>
<td class="colLast">
2017-06-27 11:43:19 +00:00
<div class="block">Encodes the given mxGraphModel by writing a (flat) XML sequence
of cell nodes as produced by the mxCellCodec.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#encodeObject-com.mxgraph.io.mxCodec-java.lang.Object-org.w3c.dom.Node-">encodeObject</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;obj,
2018-11-06 11:46:01 +00:00
org.w3c.dom.Node&nbsp;node)</code></th>
<td class="colLast">
2017-06-27 11:43:19 +00:00
<div class="block">Encodes the value of each member in then given obj
into the given node using <a href="../../../../com/mxgraph/io/mxObjectCodec.html#encodeFields-com.mxgraph.io.mxCodec-java.lang.Object-org.w3c.dom.Node-"><code>mxObjectCodec.encodeFields(mxCodec, Object, Node)</code></a>
and <a href="../../../../com/mxgraph/io/mxObjectCodec.html#encodeElements-com.mxgraph.io.mxCodec-java.lang.Object-org.w3c.dom.Node-"><code>mxObjectCodec.encodeElements(mxCodec, Object, Node)</code></a>.</div>
2014-04-01 11:30:48 +00:00
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#encodeValue-com.mxgraph.io.mxCodec-java.lang.Object-java.lang.String-java.lang.Object-org.w3c.dom.Node-">encodeValue</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;obj,
java.lang.String&nbsp;fieldname,
java.lang.Object&nbsp;value,
2018-11-06 11:46:01 +00:00
org.w3c.dom.Node&nbsp;node)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Converts the given value according to the mappings
2012-05-21 20:32:26 +00:00
and id-refs in this codec and uses
2016-06-02 09:57:18 +00:00
<a href="../../../../com/mxgraph/io/mxObjectCodec.html#writeAttribute-com.mxgraph.io.mxCodec-java.lang.Object-java.lang.String-java.lang.Object-org.w3c.dom.Node-"><code>mxObjectCodec.writeAttribute(mxCodec, Object, String, Object, Node)</code></a>
2014-04-01 11:30:48 +00:00
to write the attribute into the given node.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#processInclude-com.mxgraph.io.mxCodec-org.w3c.dom.Node-java.lang.Object-">processInclude</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
2017-11-24 16:16:54 +00:00
org.w3c.dom.Node&nbsp;node,
2018-11-06 11:46:01 +00:00
java.lang.Object&nbsp;into)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given node is an include directive and executes the
include by decoding the XML document.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#writeAttribute-com.mxgraph.io.mxCodec-java.lang.Object-java.lang.String-java.lang.Object-org.w3c.dom.Node-">writeAttribute</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;obj,
java.lang.String&nbsp;attr,
java.lang.Object&nbsp;value,
2018-11-06 11:46:01 +00:00
org.w3c.dom.Node&nbsp;node)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Writes the given value into node using writePrimitiveAttribute
or writeComplexAttribute depending on the type of the value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#writeComplexAttribute-com.mxgraph.io.mxCodec-java.lang.Object-java.lang.String-java.lang.Object-org.w3c.dom.Node-">writeComplexAttribute</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;obj,
java.lang.String&nbsp;attr,
java.lang.Object&nbsp;value,
2018-11-06 11:46:01 +00:00
org.w3c.dom.Node&nbsp;node)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Writes the given value as a child node of the given node.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
2018-11-06 11:46:01 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../../../../com/mxgraph/io/mxObjectCodec.html#writePrimitiveAttribute-com.mxgraph.io.mxCodec-java.lang.Object-java.lang.String-java.lang.Object-org.w3c.dom.Node-">writePrimitiveAttribute</a></span>&#8203;(<a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
2017-11-24 16:16:54 +00:00
java.lang.Object&nbsp;obj,
java.lang.String&nbsp;attr,
java.lang.Object&nbsp;value,
2018-11-06 11:46:01 +00:00
org.w3c.dom.Node&nbsp;node)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Writes the given value as an attribute of the given node.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
2012-05-21 20:32:26 +00:00
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2016-06-02 09:57:18 +00:00
<div class="bottomNav"><a name="navbar.bottom">
2014-04-01 11:30:48 +00:00
<!-- -->
2016-06-02 09:57:18 +00:00
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../com/mxgraph/io/mxCodec.html" title="class in com.mxgraph.io">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
2018-11-06 11:46:01 +00:00
<div class="aboutLanguage"><p><b>mxGraph 3.9.11</b></p></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/mxgraph/io/class-use/mxCodec.html" target="_top">Frames</a></li>
2016-06-02 09:57:18 +00:00
<li><a href="mxCodec.html" target="_top">No&nbsp;Frames</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
2016-06-02 09:57:18 +00:00
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
</script>
2018-11-06 11:46:01 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2014-04-01 11:30:48 +00:00
</div>
2016-06-02 09:57:18 +00:00
<a name="skip.navbar.bottom">
2014-04-01 11:30:48 +00:00
<!-- -->
</a></div>
2012-05-21 20:32:26 +00:00
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2017-06-27 11:43:19 +00:00
<p class="legalCopy"><small><font size=1>Copyright (c) 2010-2017 <a href="http://www.jgraph.com/"
target="_blank">Gaudenz Alder, JGraph Ltd</a>. All rights reserved.</font></small></p>
2014-04-01 11:30:48 +00:00
</body>
</html>