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

510 lines
28 KiB
HTML
Raw Normal View History

2019-07-02 06:45:58 +00:00
<!DOCTYPE HTML>
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
<html lang="en">
<head>
2019-07-02 06:45:58 +00:00
<!-- Generated by javadoc (11.0.3) on Tue Jul 02 06:43:02 UTC 2019 -->
<title>Uses of Class com.mxgraph.io.mxCodec (mxGraph 4.0.1 API Specification)</title>
2018-11-06 11:46:01 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2019-07-02 06:45:58 +00:00
<meta name="dc.created" content="2019-07-02">
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]-->
2019-07-02 06:45:58 +00:00
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
2018-11-06 11:46:01 +00:00
<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) {
2019-07-02 06:45:58 +00:00
parent.document.title="Uses of Class com.mxgraph.io.mxCodec (mxGraph 4.0.1 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
//-->
2019-07-02 06:45:58 +00:00
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
2014-04-01 11:30:48 +00:00
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
2019-07-02 06:45:58 +00:00
<header role="banner">
<nav role="navigation">
2018-11-06 11:46:01 +00:00
<div class="fixedNav">
2012-05-21 20:32:26 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2019-07-02 06:45:58 +00:00
<div class="topNav"><a id="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>
2019-07-02 06:45:58 +00:00
<a id="navbar.top.firstrow">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
2019-07-02 06:45:58 +00:00
<li><a href="../../../../index.html">Overview</a></li>
2014-04-01 11:30:48 +00:00
<li><a href="../package-summary.html">Package</a></li>
2019-07-02 06:45:58 +00:00
<li><a href="../mxCodec.html" title="class in com.mxgraph.io">Class</a></li>
2014-04-01 11:30:48 +00:00
<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>
2019-07-02 06:45:58 +00:00
<div class="aboutLanguage"><p><b>mxGraph 4.0.1</b></p></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
2019-07-02 06:45:58 +00:00
<li><a href="../../../../allclasses.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>
2019-07-02 06:45:58 +00:00
<a id="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>
2019-07-02 06:45:58 +00:00
</nav>
</header>
<main role="main">
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">
2019-07-02 06:45:58 +00:00
<table class="useSummary">
<caption><span>Packages that use <a href="../mxCodec.html" title="class in com.mxgraph.io">mxCodec</a></span><span class="tabEnd">&nbsp;</span></caption>
2014-04-01 11:30:48 +00:00
<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">
2019-07-02 06:45:58 +00:00
<li class="blockList">
<section role="region"><a id="com.mxgraph.io">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
2019-07-02 06:45:58 +00:00
<h3>Uses of <a href="../mxCodec.html" title="class in com.mxgraph.io">mxCodec</a> in <a href="../package-summary.html">com.mxgraph.io</a></h3>
<table class="useSummary">
<caption><span>Methods in <a href="../package-summary.html">com.mxgraph.io</a> with parameters of type <a href="../mxCodec.html" title="class in com.mxgraph.io">mxCodec</a></span><span class="tabEnd">&nbsp;</span></caption>
2014-04-01 11:30:48 +00:00
<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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxChildChangeCodec.</span><code><span class="memberNameLink"><a href="../mxChildChangeCodec.html#afterDecode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">afterDecode</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxGenericChangeCodec.</span><code><span class="memberNameLink"><a href="../mxGenericChangeCodec.html#afterDecode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">afterDecode</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../mxObjectCodec.html#afterDecode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">afterDecode</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxRootChangeCodec.</span><code><span class="memberNameLink"><a href="../mxRootChangeCodec.html#afterDecode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">afterDecode</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxTerminalChangeCodec.</span><code><span class="memberNameLink"><a href="../mxTerminalChangeCodec.html#afterDecode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">afterDecode</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxCellCodec.</span><code><span class="memberNameLink"><a href="../mxCellCodec.html#afterEncode(com.mxgraph.io.mxCodec,java.lang.Object,org.w3c.dom.Node)">afterEncode</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxChildChangeCodec.</span><code><span class="memberNameLink"><a href="../mxChildChangeCodec.html#afterEncode(com.mxgraph.io.mxCodec,java.lang.Object,org.w3c.dom.Node)">afterEncode</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../mxObjectCodec.html#afterEncode(com.mxgraph.io.mxCodec,java.lang.Object,org.w3c.dom.Node)">afterEncode</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxRootChangeCodec.</span><code><span class="memberNameLink"><a href="../mxRootChangeCodec.html#afterEncode(com.mxgraph.io.mxCodec,java.lang.Object,org.w3c.dom.Node)">afterEncode</a></span>&#8203;(<a href="../mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
2018-11-06 11:46:01 +00:00
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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxCellCodec.</span><code><span class="memberNameLink"><a href="../mxCellCodec.html#beforeDecode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">beforeDecode</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxChildChangeCodec.</span><code><span class="memberNameLink"><a href="../mxChildChangeCodec.html#beforeDecode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">beforeDecode</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxModelCodec.</span><code><span class="memberNameLink"><a href="../mxModelCodec.html#beforeDecode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">beforeDecode</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../mxObjectCodec.html#beforeDecode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">beforeDecode</a></span>&#8203;(<a href="../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
2019-07-02 06:45:58 +00:00
<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxRootChangeCodec.</span><code><span class="memberNameLink"><a href="../mxRootChangeCodec.html#beforeDecode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">beforeDecode</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../mxObjectCodec.html#beforeEncode(com.mxgraph.io.mxCodec,java.lang.Object,org.w3c.dom.Node)">beforeEncode</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../mxObjectCodec.html#decode(com.mxgraph.io.mxCodec,org.w3c.dom.Node)">decode</a></span>&#8203;(<a href="../mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;dec,
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">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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../mxObjectCodec.html#decode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">decode</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxStylesheetCodec.</span><code><span class="memberNameLink"><a href="../mxStylesheetCodec.html#decode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">decode</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../mxObjectCodec.html#decodeAttribute(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">decodeAttribute</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../mxObjectCodec.html#decodeAttributes(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">decodeAttributes</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../mxObjectCodec.html#decodeChild(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">decodeChild</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../mxObjectCodec.html#decodeChildren(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">decodeChildren</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../mxObjectCodec.html#decodeNode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">decodeNode</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../mxObjectCodec.html#encode(com.mxgraph.io.mxCodec,java.lang.Object)">encode</a></span>&#8203;(<a href="../mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
2018-11-06 11:46:01 +00:00
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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxStylesheetCodec.</span><code><span class="memberNameLink"><a href="../mxStylesheetCodec.html#encode(com.mxgraph.io.mxCodec,java.lang.Object)">encode</a></span>&#8203;(<a href="../mxCodec.html" title="class in com.mxgraph.io">mxCodec</a>&nbsp;enc,
2018-11-06 11:46:01 +00:00
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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../mxObjectCodec.html#encodeElements(com.mxgraph.io.mxCodec,java.lang.Object,org.w3c.dom.Node)">encodeElements</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../mxObjectCodec.html#encodeFields(com.mxgraph.io.mxCodec,java.lang.Object,org.w3c.dom.Node)">encodeFields</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxModelCodec.</span><code><span class="memberNameLink"><a href="../mxModelCodec.html#encodeObject(com.mxgraph.io.mxCodec,java.lang.Object,org.w3c.dom.Node)">encodeObject</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../mxObjectCodec.html#encodeObject(com.mxgraph.io.mxCodec,java.lang.Object,org.w3c.dom.Node)">encodeObject</a></span>&#8203;(<a href="../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
2019-07-02 06:45:58 +00:00
into the given node using <a href="../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="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../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="../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
2019-07-02 06:45:58 +00:00
<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../mxObjectCodec.html#processInclude(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">processInclude</a></span>&#8203;(<a href="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../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="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../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="../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>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><span class="typeNameLabel">mxObjectCodec.</span><code><span class="memberNameLink"><a href="../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="../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>
2019-07-02 06:45:58 +00:00
</section>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</li>
</ul>
</div>
2019-07-02 06:45:58 +00:00
</main>
<footer role="contentinfo">
<nav role="navigation">
2012-05-21 20:32:26 +00:00
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2019-07-02 06:45:58 +00:00
<div class="bottomNav"><a id="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>
2019-07-02 06:45:58 +00:00
<a id="navbar.bottom.firstrow">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="navList" title="Navigation">
2019-07-02 06:45:58 +00:00
<li><a href="../../../../index.html">Overview</a></li>
2014-04-01 11:30:48 +00:00
<li><a href="../package-summary.html">Package</a></li>
2019-07-02 06:45:58 +00:00
<li><a href="../mxCodec.html" title="class in com.mxgraph.io">Class</a></li>
2014-04-01 11:30:48 +00:00
<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>
2019-07-02 06:45:58 +00:00
<div class="aboutLanguage"><p><b>mxGraph 4.0.1</b></p></div>
2014-04-01 11:30:48 +00:00
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
2019-07-02 06:45:58 +00:00
<li><a href="../../../../allclasses.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>
2019-07-02 06:45:58 +00:00
<a id="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 ======= -->
2019-07-02 06:45:58 +00:00
</nav>
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>
2019-07-02 06:45:58 +00:00
</footer>
2014-04-01 11:30:48 +00:00
</body>
</html>