maxGraph/java/docs/com/mxgraph/io/mxChildChangeCodec.html

501 lines
24 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-11-08 14:59:37 +00:00
<!-- Generated by javadoc (11.0.4) on Fri Nov 08 14:34:22 UTC 2019 -->
<title>mxChildChangeCodec (mxGraph 4.0.6 API Specification)</title>
2018-11-06 11:46:01 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
2019-11-08 14:59:37 +00:00
<meta name="dc.created" content="2019-11-08">
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-11-08 14:59:37 +00:00
parent.document.title="mxChildChangeCodec (mxGraph 4.0.6 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 data = {"i0":10,"i1":10,"i2":10,"i3":10};
2016-06-02 09:57:18 +00:00
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
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>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/mxChildChangeCodec.html">Use</a></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-11-08 14:59:37 +00:00
<div class="aboutLanguage"><p><b>mxGraph 4.0.6</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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
2019-07-02 06:45:58 +00:00
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
2014-04-01 11:30:48 +00:00
</ul>
</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>
2012-05-21 20:32:26 +00:00
<!-- ======== START OF CLASS DATA ======== -->
2019-07-02 06:45:58 +00:00
<main role="main">
2014-04-01 11:30:48 +00:00
<div class="header">
2019-07-02 06:45:58 +00:00
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">com.mxgraph.io</a></div>
2014-04-01 11:30:48 +00:00
<h2 title="Class mxChildChangeCodec" class="title">Class mxChildChangeCodec</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
2017-11-24 16:16:54 +00:00
<li>java.lang.Object</li>
2014-04-01 11:30:48 +00:00
<li>
<ul class="inheritance">
2019-07-02 06:45:58 +00:00
<li><a href="mxObjectCodec.html" title="class in com.mxgraph.io">com.mxgraph.io.mxObjectCodec</a></li>
2014-04-01 11:30:48 +00:00
<li>
<ul class="inheritance">
<li>com.mxgraph.io.mxChildChangeCodec</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
2016-06-02 09:57:18 +00:00
<pre>public class <span class="typeNameLabel">mxChildChangeCodec</span>
2019-07-02 06:45:58 +00:00
extends <a href="mxObjectCodec.html" title="class in com.mxgraph.io">mxObjectCodec</a></pre>
2014-04-01 11:30:48 +00:00
<div class="block">Codec for mxChildChanges. This class is created and registered
2012-05-21 20:32:26 +00:00
dynamically at load time and used implicitely via mxCodec
2014-04-01 11:30:48 +00:00
and the mxCodecRegistry.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
2012-05-21 20:32:26 +00:00
<!-- =========== FIELD SUMMARY =========== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="field.summary">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="fields.inherited.from.class.com.mxgraph.io.mxObjectCodec">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
2019-07-02 06:45:58 +00:00
<h3>Fields inherited from class&nbsp;com.mxgraph.io.<a href="mxObjectCodec.html" title="class in com.mxgraph.io">mxObjectCodec</a></h3>
<code><a href="mxObjectCodec.html#accessors">accessors</a>, <a href="mxObjectCodec.html#exclude">exclude</a>, <a href="mxObjectCodec.html#fields">fields</a>, <a href="mxObjectCodec.html#idrefs">idrefs</a>, <a href="mxObjectCodec.html#mapping">mapping</a>, <a href="mxObjectCodec.html#reverse">reverse</a>, <a href="mxObjectCodec.html#template">template</a></code></li>
2014-04-01 11:30:48 +00:00
</ul>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2012-05-21 20:32:26 +00:00
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="constructor.summary">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Constructor Summary</h3>
2019-07-02 06:45:58 +00:00
<table class="memberSummary">
2014-04-01 11:30:48 +00:00
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
2018-11-06 11:46:01 +00:00
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
2014-04-01 11:30:48 +00:00
</tr>
<tr class="altColor">
2019-07-02 06:45:58 +00:00
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">mxChildChangeCodec</a></span>()</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Constructs a new model codec.</div>
</td>
</tr>
<tr class="rowColor">
2019-07-02 06:45:58 +00:00
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.lang.Object,java.lang.String%5B%5D,java.lang.String%5B%5D,java.util.Map)">mxChildChangeCodec</a></span>&#8203;(java.lang.Object&nbsp;template,
2017-11-24 16:16:54 +00:00
java.lang.String[]&nbsp;exclude,
java.lang.String[]&nbsp;idrefs,
2019-07-02 06:45:58 +00:00
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;mapping)</code></th>
2018-11-06 11:46:01 +00:00
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Constructs a new model codec for the given arguments.</div>
</td>
</tr>
</table>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2012-05-21 20:32:26 +00:00
<!-- ========== METHOD SUMMARY =========== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="method.summary">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Method Summary</h3>
2019-07-02 06:45:58 +00:00
<table class="memberSummary">
2016-06-02 09:57:18 +00:00
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></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>
2016-06-02 09:57:18 +00:00
<tr id="i0" 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"><code><span class="memberNameLink"><a href="#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">
2014-04-01 11:30:48 +00:00
<div class="block">Hook for subclassers to post-process the object after decoding.</div>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i1" 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"><code><span class="memberNameLink"><a href="#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">
2014-04-01 11:30:48 +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>
</td>
</tr>
2016-06-02 09:57:18 +00:00
<tr id="i2" 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"><code><span class="memberNameLink"><a href="#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>
2016-06-02 09:57:18 +00:00
<tr id="i3" class="rowColor">
2014-04-01 11:30:48 +00:00
<td class="colFirst"><code>boolean</code></td>
2019-07-02 06:45:58 +00:00
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isReference(java.lang.Object,java.lang.String,java.lang.Object,boolean)">isReference</a></span>&#8203;(java.lang.Object&nbsp;obj,
2017-11-24 16:16:54 +00:00
java.lang.String&nbsp;attr,
java.lang.Object&nbsp;value,
2018-11-06 11:46:01 +00:00
boolean&nbsp;isWrite)</code></th>
<td class="colLast">
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given fieldname is to be treated as a textual
reference (ID).</div>
</td>
</tr>
</table>
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="methods.inherited.from.class.com.mxgraph.io.mxObjectCodec">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
2019-07-02 06:45:58 +00:00
<h3>Methods inherited from class&nbsp;com.mxgraph.io.<a href="mxObjectCodec.html" title="class in com.mxgraph.io">mxObjectCodec</a></h3>
<code><a href="mxObjectCodec.html#addObjectValue(java.lang.Object,java.lang.String,java.lang.Object,java.lang.Object)">addObjectValue</a>, <a href="mxObjectCodec.html#beforeEncode(com.mxgraph.io.mxCodec,java.lang.Object,org.w3c.dom.Node)">beforeEncode</a>, <a href="mxObjectCodec.html#cloneTemplate(org.w3c.dom.Node)">cloneTemplate</a>, <a href="mxObjectCodec.html#convertValueFromXml(java.lang.Class,java.lang.Object)">convertValueFromXml</a>, <a href="mxObjectCodec.html#convertValueToXml(java.lang.Object)">convertValueToXml</a>, <a href="mxObjectCodec.html#decode(com.mxgraph.io.mxCodec,org.w3c.dom.Node)">decode</a>, <a href="mxObjectCodec.html#decode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">decode</a>, <a href="mxObjectCodec.html#decodeAttribute(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">decodeAttribute</a>, <a href="mxObjectCodec.html#decodeAttributes(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">decodeAttributes</a>, <a href="mxObjectCodec.html#decodeChild(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">decodeChild</a>, <a href="mxObjectCodec.html#decodeChildren(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">decodeChildren</a>, <a href="mxObjectCodec.html#decodeNode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">decodeNode</a>, <a href="mxObjectCodec.html#encode(com.mxgraph.io.mxCodec,java.lang.Object)">encode</a>, <a href="mxObjectCodec.html#encodeElements(com.mxgraph.io.mxCodec,java.lang.Object,org.w3c.dom.Node)">encodeElements</a>, <a href="mxObjectCodec.html#encodeFields(com.mxgraph.io.mxCodec,java.lang.Object,org.w3c.dom.Node)">encodeFields</a>, <a href="mxObjectCodec.html#encodeObject(com.mxgraph.io.mxCodec,java.lang.Object,org.w3c.dom.Node)">encodeObject</a>, <a href="mxObjectCodec.html#encodeValue(com.mxgraph.io.mxCodec,java.lang.Object,java.lang.String,java.lang.Object,org.w3c.dom.Node)">encodeValue</a>, <a href="mxObjectCodec.html#getAccessor(java.lang.Object,java.lang.reflect.Field,boolean)">getAccessor</a>, <a href="mxObjectCodec.html#getAttributeName(java.lang.String)">getAttributeName</a>, <a href="mxObjectCodec.html#getField(java.lang.Object,java.lang.String)">getField</a>, <a href="mxObjectCodec.html#getFieldName(java.lang.String)">getFieldName</a>, <a href="mxObjectCodec.html#getFieldTemplate(java.lang.Object,java.lang.String,org.w3c.dom.Node)">getFieldTemplate</a>, <a href="mxObjectCodec.html#getFieldValue(java.lang.Object,java.lang.String)">getFieldValue</a>, <a href="mxObjectCodec.html#getFieldValueWithAccessor(java.lang.Object,java.lang.reflect.Field)">getFieldValueWithAccessor</a>, <a href="mxObjectCodec.html#getMethod(java.lang.Object,java.lang.String,java.lang.Class%5B%5D)">getMethod</a>, <a href="mxObjectCodec.html#getName()">getName</a>, <a href="mxObjectCodec.html#getTemplate()">getTemplate</a>, <a href="mxObjectCodec.html#isExcluded(java.lang.Object,java.lang.String,java.lang.Object,boolean)">isExcluded</a>, <a href="mxObjectCodec.html#isPrimitiveValue(java.lang.Object)">isPrimitiveValue</a>, <a href="mxObjectCodec.html#processInclude(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">processInclude</a>, <a href="mxObjectCodec.html#setFieldValue(java.lang.Object,java.lang.String,java.lang.Object)">setFieldValue</a>, <a href="mxObjectCodec.html#setFieldValueWithAccessor(java.lang.Object,java.lang.reflect.Field,java.lang.Object)">setFieldValueWithAccessor</a>, <a href="mxObjectCodec.html#writeAttribute(com.mxgraph.io.mxCodec,java.lang.Object,java.lang.String,java.lang.Object,org.w3c.dom.Node)">writeAttribute</a>, <a href="mxObjectCodec.html#writeComplexAttribute(com.mxgraph.io.mxCodec,java.lang.Object,java.lang.String,java.lang.Object,org.w3c.dom.Node)">writeComplexAttribute</a>, <a href="mxObjectCodec.html#writePrimitiveAttribute(com.mxgraph.io.mxCodec,java.lang.Object,java.lang.String,java.lang.Object,org.w3c.dom.Node)">writePrimitiveAttribute</a></code></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
2017-11-24 16:16:54 +00:00
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
2014-04-01 11:30:48 +00:00
</ul>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
2012-05-21 20:32:26 +00:00
<!-- ========= CONSTRUCTOR DETAIL ======== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="constructor.detail">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Constructor Detail</h3>
2019-07-02 06:45:58 +00:00
<a id="&lt;init&gt;()">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>mxChildChangeCodec</h4>
<pre>public&nbsp;mxChildChangeCodec()</pre>
<div class="block">Constructs a new model codec.</div>
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="&lt;init&gt;(java.lang.Object,java.lang.String[],java.lang.String[],java.util.Map)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>mxChildChangeCodec</h4>
2018-11-06 11:46:01 +00:00
<pre>public&nbsp;mxChildChangeCodec&#8203;(java.lang.Object&nbsp;template,
2017-11-24 16:16:54 +00:00
java.lang.String[]&nbsp;exclude,
java.lang.String[]&nbsp;idrefs,
2019-07-02 06:45:58 +00:00
java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;mapping)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Constructs a new model codec for the given arguments.</div>
</li>
</ul>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2012-05-21 20:32:26 +00:00
<!-- ============ METHOD DETAIL ========== -->
2019-07-02 06:45:58 +00:00
<section role="region">
2014-04-01 11:30:48 +00:00
<ul class="blockList">
2019-07-02 06:45:58 +00:00
<li class="blockList"><a id="method.detail">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<h3>Method Detail</h3>
2019-07-02 06:45:58 +00:00
<a id="isReference(java.lang.Object,java.lang.String,java.lang.Object,boolean)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isReference</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;boolean&nbsp;isReference&#8203;(java.lang.Object&nbsp;obj,
2017-11-24 16:16:54 +00:00
java.lang.String&nbsp;attr,
java.lang.Object&nbsp;value,
2016-06-02 09:57:18 +00:00
boolean&nbsp;isWrite)</pre>
2019-07-02 06:45:58 +00:00
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="mxObjectCodec.html#isReference(java.lang.Object,java.lang.String,java.lang.Object,boolean)">mxObjectCodec</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Returns true if the given fieldname is to be treated as a textual
2012-05-21 20:32:26 +00:00
reference (ID). This implementation returns true if the given fieldname
2019-07-02 06:45:58 +00:00
is in <a href="mxObjectCodec.html#idrefs"><code>mxObjectCodec.idrefs</code></a>.</div>
2014-04-01 11:30:48 +00:00
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxObjectCodec.html#isReference(java.lang.Object,java.lang.String,java.lang.Object,boolean)">isReference</a></code>&nbsp;in class&nbsp;<code><a href="mxObjectCodec.html" title="class in com.mxgraph.io">mxObjectCodec</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>obj</code> - Object instance that contains the field.</dd>
<dd><code>attr</code> - Fieldname of the field.</dd>
<dd><code>value</code> - Value of the field.</dd>
<dd><code>isWrite</code> - Boolean indicating if the field is being encoded or
2012-05-21 20:32:26 +00:00
decoded. isWrite is true if the field is being encoded, else it is being
2014-04-01 11:30:48 +00:00
decoded.</dd>
2016-06-02 09:57:18 +00:00
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns true if the given attribute should be handled as a
reference.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="afterEncode(com.mxgraph.io.mxCodec,java.lang.Object,org.w3c.dom.Node)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>afterEncode</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;org.w3c.dom.Node&nbsp;afterEncode&#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,
org.w3c.dom.Node&nbsp;node)</pre>
2019-07-02 06:45:58 +00:00
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="mxObjectCodec.html#afterEncode(com.mxgraph.io.mxCodec,java.lang.Object,org.w3c.dom.Node)">mxObjectCodec</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Hook for subclassers to post-process the node for the given object after
2012-05-21 20:32:26 +00:00
encoding and return the post-processed node. This implementation returns
the input node. The return value of this method is returned to the
encoder from <encode>.
2014-04-01 11:30:48 +00:00
Parameters:</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxObjectCodec.html#afterEncode(com.mxgraph.io.mxCodec,java.lang.Object,org.w3c.dom.Node)">afterEncode</a></code>&nbsp;in class&nbsp;<code><a href="mxObjectCodec.html" title="class in com.mxgraph.io">mxObjectCodec</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>enc</code> - Codec that controls the encoding process.</dd>
<dd><code>obj</code> - Object to be encoded.</dd>
<dd><code>node</code> - XML node that represents the default encoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the resulting node of the encoding.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="beforeDecode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>beforeDecode</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;org.w3c.dom.Node&nbsp;beforeDecode&#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,
java.lang.Object&nbsp;into)</pre>
2014-04-01 11:30:48 +00:00
<div class="block">Reads the cells into the graph model. All cells are children of the root
element in the node.</div>
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxObjectCodec.html#beforeDecode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">beforeDecode</a></code>&nbsp;in class&nbsp;<code><a href="mxObjectCodec.html" title="class in com.mxgraph.io">mxObjectCodec</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dec</code> - Codec that controls the decoding process.</dd>
<dd><code>node</code> - XML node to be decoded.</dd>
<dd><code>into</code> - Object to encode the node into.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the node used for the default decoding.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
2019-07-02 06:45:58 +00:00
<a id="afterDecode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">
2014-04-01 11:30:48 +00:00
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>afterDecode</h4>
2019-07-02 06:45:58 +00:00
<pre class="methodSignature">public&nbsp;java.lang.Object&nbsp;afterDecode&#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,
java.lang.Object&nbsp;obj)</pre>
2019-07-02 06:45:58 +00:00
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="mxObjectCodec.html#afterDecode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">mxObjectCodec</a></code></span></div>
2014-04-01 11:30:48 +00:00
<div class="block">Hook for subclassers to post-process the object after decoding. This
2012-05-21 20:32:26 +00:00
implementation returns the given object without any changes. The return
value of this method is returned to the decoder from
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
<dl>
2016-06-02 09:57:18 +00:00
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
2019-07-02 06:45:58 +00:00
<dd><code><a href="mxObjectCodec.html#afterDecode(com.mxgraph.io.mxCodec,org.w3c.dom.Node,java.lang.Object)">afterDecode</a></code>&nbsp;in class&nbsp;<code><a href="mxObjectCodec.html" title="class in com.mxgraph.io">mxObjectCodec</a></code></dd>
2016-06-02 09:57:18 +00:00
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dec</code> - Codec that controls the decoding process.</dd>
<dd><code>node</code> - XML node to be decoded.</dd>
<dd><code>obj</code> - Object that represents the default decoding.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the result of the decoding process.</dd>
</dl>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</li>
</ul>
2019-07-02 06:45:58 +00:00
</section>
2014-04-01 11:30:48 +00:00
</li>
</ul>
</div>
</div>
2019-07-02 06:45:58 +00:00
</main>
2012-05-21 20:32:26 +00:00
<!-- ========= END OF CLASS DATA ========= -->
2019-07-02 06:45:58 +00:00
<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>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/mxChildChangeCodec.html">Use</a></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-11-08 14:59:37 +00:00
<div class="aboutLanguage"><p><b>mxGraph 4.0.6</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>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
2019-07-02 06:45:58 +00:00
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
2014-04-01 11:30:48 +00:00
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
2016-06-02 09:57:18 +00:00
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
2014-04-01 11:30:48 +00:00
</ul>
</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>