blob: d1d04e3174ec6f54c81d170d7278903b6319804f [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.10) on Mon Dec 05 10:27:04 MSK 2022 -->
<title>XMLSerializable (cayenne-doc: Cayenne Documentation 4.2.RC2 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2022-12-05">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<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-3.5.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="XMLSerializable (cayenne-doc: Cayenne Documentation 4.2.RC2 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = false;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/XMLSerializable.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>
<div class="aboutLanguage"><a href="http://cayenne.apache.org" target="top">Apache Cayenne</a></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<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>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.cayenne.util</a></div>
<h2 title="Interface XMLSerializable" class="title">Interface XMLSerializable</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><code><a href="../exp/parser/AggregateConditionNode.html" title="class in org.apache.cayenne.exp.parser">AggregateConditionNode</a></code>, <code><a href="../exp/parser/ASTAbs.html" title="class in org.apache.cayenne.exp.parser">ASTAbs</a></code>, <code><a href="../exp/parser/ASTAdd.html" title="class in org.apache.cayenne.exp.parser">ASTAdd</a></code>, <code><a href="../exp/parser/ASTAggregateFunctionCall.html" title="class in org.apache.cayenne.exp.parser">ASTAggregateFunctionCall</a></code>, <code><a href="../exp/parser/ASTAnd.html" title="class in org.apache.cayenne.exp.parser">ASTAnd</a></code>, <code><a href="../exp/parser/ASTAsterisk.html" title="class in org.apache.cayenne.exp.parser">ASTAsterisk</a></code>, <code><a href="../exp/parser/ASTAvg.html" title="class in org.apache.cayenne.exp.parser">ASTAvg</a></code>, <code><a href="../exp/parser/ASTBetween.html" title="class in org.apache.cayenne.exp.parser">ASTBetween</a></code>, <code><a href="../exp/parser/ASTBitwiseAnd.html" title="class in org.apache.cayenne.exp.parser">ASTBitwiseAnd</a></code>, <code><a href="../exp/parser/ASTBitwiseLeftShift.html" title="class in org.apache.cayenne.exp.parser">ASTBitwiseLeftShift</a></code>, <code><a href="../exp/parser/ASTBitwiseNot.html" title="class in org.apache.cayenne.exp.parser">ASTBitwiseNot</a></code>, <code><a href="../exp/parser/ASTBitwiseOr.html" title="class in org.apache.cayenne.exp.parser">ASTBitwiseOr</a></code>, <code><a href="../exp/parser/ASTBitwiseRightShift.html" title="class in org.apache.cayenne.exp.parser">ASTBitwiseRightShift</a></code>, <code><a href="../exp/parser/ASTBitwiseXor.html" title="class in org.apache.cayenne.exp.parser">ASTBitwiseXor</a></code>, <code><a href="../exp/parser/ASTConcat.html" title="class in org.apache.cayenne.exp.parser">ASTConcat</a></code>, <code><a href="../exp/parser/ASTCount.html" title="class in org.apache.cayenne.exp.parser">ASTCount</a></code>, <code><a href="../exp/parser/ASTCurrentDate.html" title="class in org.apache.cayenne.exp.parser">ASTCurrentDate</a></code>, <code><a href="../exp/parser/ASTCurrentTime.html" title="class in org.apache.cayenne.exp.parser">ASTCurrentTime</a></code>, <code><a href="../exp/parser/ASTCurrentTimestamp.html" title="class in org.apache.cayenne.exp.parser">ASTCurrentTimestamp</a></code>, <code><a href="../exp/parser/ASTCustomFunction.html" title="class in org.apache.cayenne.exp.parser">ASTCustomFunction</a></code>, <code><a href="../exp/parser/ASTCustomOperator.html" title="class in org.apache.cayenne.exp.parser">ASTCustomOperator</a></code>, <code><a href="../exp/parser/ASTDbIdPath.html" title="class in org.apache.cayenne.exp.parser">ASTDbIdPath</a></code>, <code><a href="../exp/parser/ASTDbPath.html" title="class in org.apache.cayenne.exp.parser">ASTDbPath</a></code>, <code><a href="../exp/parser/ASTDistinct.html" title="class in org.apache.cayenne.exp.parser">ASTDistinct</a></code>, <code><a href="../exp/parser/ASTDivide.html" title="class in org.apache.cayenne.exp.parser">ASTDivide</a></code>, <code><a href="../exp/parser/ASTEnclosingObject.html" title="class in org.apache.cayenne.exp.parser">ASTEnclosingObject</a></code>, <code><a href="../exp/parser/ASTEnum.html" title="class in org.apache.cayenne.exp.parser">ASTEnum</a></code>, <code><a href="../exp/parser/ASTEqual.html" title="class in org.apache.cayenne.exp.parser">ASTEqual</a></code>, <code><a href="../exp/parser/ASTExists.html" title="class in org.apache.cayenne.exp.parser">ASTExists</a></code>, <code><a href="../exp/parser/ASTExtract.html" title="class in org.apache.cayenne.exp.parser">ASTExtract</a></code>, <code><a href="../exp/parser/ASTFalse.html" title="class in org.apache.cayenne.exp.parser">ASTFalse</a></code>, <code><a href="../exp/parser/ASTFullObject.html" title="class in org.apache.cayenne.exp.parser">ASTFullObject</a></code>, <code><a href="../exp/parser/ASTFunctionCall.html" title="class in org.apache.cayenne.exp.parser">ASTFunctionCall</a></code>, <code><a href="../exp/parser/ASTGreater.html" title="class in org.apache.cayenne.exp.parser">ASTGreater</a></code>, <code><a href="../exp/parser/ASTGreaterOrEqual.html" title="class in org.apache.cayenne.exp.parser">ASTGreaterOrEqual</a></code>, <code><a href="../exp/parser/ASTIn.html" title="class in org.apache.cayenne.exp.parser">ASTIn</a></code>, <code><a href="../exp/parser/ASTLength.html" title="class in org.apache.cayenne.exp.parser">ASTLength</a></code>, <code><a href="../exp/parser/ASTLess.html" title="class in org.apache.cayenne.exp.parser">ASTLess</a></code>, <code><a href="../exp/parser/ASTLessOrEqual.html" title="class in org.apache.cayenne.exp.parser">ASTLessOrEqual</a></code>, <code><a href="../exp/parser/ASTLike.html" title="class in org.apache.cayenne.exp.parser">ASTLike</a></code>, <code><a href="../exp/parser/ASTLikeIgnoreCase.html" title="class in org.apache.cayenne.exp.parser">ASTLikeIgnoreCase</a></code>, <code><a href="../exp/parser/ASTList.html" title="class in org.apache.cayenne.exp.parser">ASTList</a></code>, <code><a href="../exp/parser/ASTLocate.html" title="class in org.apache.cayenne.exp.parser">ASTLocate</a></code>, <code><a href="../exp/parser/ASTLower.html" title="class in org.apache.cayenne.exp.parser">ASTLower</a></code>, <code><a href="../exp/parser/ASTMax.html" title="class in org.apache.cayenne.exp.parser">ASTMax</a></code>, <code><a href="../exp/parser/ASTMin.html" title="class in org.apache.cayenne.exp.parser">ASTMin</a></code>, <code><a href="../exp/parser/ASTMod.html" title="class in org.apache.cayenne.exp.parser">ASTMod</a></code>, <code><a href="../exp/parser/ASTMultiply.html" title="class in org.apache.cayenne.exp.parser">ASTMultiply</a></code>, <code><a href="../exp/parser/ASTNamedParameter.html" title="class in org.apache.cayenne.exp.parser">ASTNamedParameter</a></code>, <code><a href="../exp/parser/ASTNegate.html" title="class in org.apache.cayenne.exp.parser">ASTNegate</a></code>, <code><a href="../exp/parser/ASTNot.html" title="class in org.apache.cayenne.exp.parser">ASTNot</a></code>, <code><a href="../exp/parser/ASTNotBetween.html" title="class in org.apache.cayenne.exp.parser">ASTNotBetween</a></code>, <code><a href="../exp/parser/ASTNotEqual.html" title="class in org.apache.cayenne.exp.parser">ASTNotEqual</a></code>, <code><a href="../exp/parser/ASTNotExists.html" title="class in org.apache.cayenne.exp.parser">ASTNotExists</a></code>, <code><a href="../exp/parser/ASTNotIn.html" title="class in org.apache.cayenne.exp.parser">ASTNotIn</a></code>, <code><a href="../exp/parser/ASTNotLike.html" title="class in org.apache.cayenne.exp.parser">ASTNotLike</a></code>, <code><a href="../exp/parser/ASTNotLikeIgnoreCase.html" title="class in org.apache.cayenne.exp.parser">ASTNotLikeIgnoreCase</a></code>, <code><a href="../exp/parser/ASTObjPath.html" title="class in org.apache.cayenne.exp.parser">ASTObjPath</a></code>, <code><a href="../exp/parser/ASTOr.html" title="class in org.apache.cayenne.exp.parser">ASTOr</a></code>, <code><a href="../exp/parser/ASTPath.html" title="class in org.apache.cayenne.exp.parser">ASTPath</a></code>, <code><a href="../exp/parser/ASTScalar.html" title="class in org.apache.cayenne.exp.parser">ASTScalar</a></code>, <code><a href="../exp/parser/ASTSqrt.html" title="class in org.apache.cayenne.exp.parser">ASTSqrt</a></code>, <code><a href="../exp/parser/ASTSubquery.html" title="class in org.apache.cayenne.exp.parser">ASTSubquery</a></code>, <code><a href="../exp/parser/ASTSubstring.html" title="class in org.apache.cayenne.exp.parser">ASTSubstring</a></code>, <code><a href="../exp/parser/ASTSubtract.html" title="class in org.apache.cayenne.exp.parser">ASTSubtract</a></code>, <code><a href="../exp/parser/ASTSum.html" title="class in org.apache.cayenne.exp.parser">ASTSum</a></code>, <code><a href="../exp/parser/ASTTrim.html" title="class in org.apache.cayenne.exp.parser">ASTTrim</a></code>, <code><a href="../exp/parser/ASTTrue.html" title="class in org.apache.cayenne.exp.parser">ASTTrue</a></code>, <code><a href="../exp/parser/ASTUpper.html" title="class in org.apache.cayenne.exp.parser">ASTUpper</a></code>, <code><a href="../map/Attribute.html" title="class in org.apache.cayenne.map">Attribute</a></code>, <code><a href="../exp/parser/ConditionNode.html" title="class in org.apache.cayenne.exp.parser">ConditionNode</a></code>, <code><a href="../configuration/DataChannelDescriptor.html" title="class in org.apache.cayenne.configuration">DataChannelDescriptor</a></code>, <code><a href="../map/DataMap.html" title="class in org.apache.cayenne.map">DataMap</a></code>, <code><a href="../configuration/DataNodeDescriptor.html" title="class in org.apache.cayenne.configuration">DataNodeDescriptor</a></code>, <code><a href="../conn/DataSourceInfo.html" title="class in org.apache.cayenne.conn">DataSourceInfo</a></code>, <code><a href="../map/DbAttribute.html" title="class in org.apache.cayenne.map">DbAttribute</a></code>, <code><a href="../map/DbEntity.html" title="class in org.apache.cayenne.map">DbEntity</a></code>, <code><a href="../map/DbJoin.html" title="class in org.apache.cayenne.map">DbJoin</a></code>, <code><a href="../map/DbKeyGenerator.html" title="class in org.apache.cayenne.map">DbKeyGenerator</a></code>, <code><a href="../map/DbRelationship.html" title="class in org.apache.cayenne.map">DbRelationship</a></code>, <code><a href="../map/EJBQLQueryDescriptor.html" title="class in org.apache.cayenne.map">EJBQLQueryDescriptor</a></code>, <code><a href="../map/Embeddable.html" title="class in org.apache.cayenne.map">Embeddable</a></code>, <code><a href="../map/EmbeddableAttribute.html" title="class in org.apache.cayenne.map">EmbeddableAttribute</a></code>, <code><a href="../map/EmbeddedAttribute.html" title="class in org.apache.cayenne.map">EmbeddedAttribute</a></code>, <code><a href="../map/Entity.html" title="class in org.apache.cayenne.map">Entity</a></code>, <code><a href="../exp/parser/EvaluatedBitwiseNode.html" title="class in org.apache.cayenne.exp.parser">EvaluatedBitwiseNode</a></code>, <code><a href="../exp/parser/EvaluatedMathNode.html" title="class in org.apache.cayenne.exp.parser">EvaluatedMathNode</a></code>, <code><a href="../exp/parser/EvaluatedNode.html" title="class in org.apache.cayenne.exp.parser">EvaluatedNode</a></code>, <code><a href="../exp/Expression.html" title="class in org.apache.cayenne.exp">Expression</a></code>, <code><a href="../map/ObjAttribute.html" title="class in org.apache.cayenne.map">ObjAttribute</a></code>, <code><a href="../map/ObjEntity.html" title="class in org.apache.cayenne.map">ObjEntity</a></code>, <code><a href="../map/ObjRelationship.html" title="class in org.apache.cayenne.map">ObjRelationship</a></code>, <code><a href="../query/Ordering.html" title="class in org.apache.cayenne.query">Ordering</a></code>, <code><a href="../exp/parser/PatternMatchNode.html" title="class in org.apache.cayenne.exp.parser">PatternMatchNode</a></code>, <code><a href="../query/PrefetchTreeNode.html" title="class in org.apache.cayenne.query">PrefetchTreeNode</a></code>, <code><a href="../map/Procedure.html" title="class in org.apache.cayenne.map">Procedure</a></code>, <code><a href="../map/ProcedureParameter.html" title="class in org.apache.cayenne.map">ProcedureParameter</a></code>, <code><a href="../map/ProcedureQueryDescriptor.html" title="class in org.apache.cayenne.map">ProcedureQueryDescriptor</a></code>, <code><a href="../map/QueryDescriptor.html" title="class in org.apache.cayenne.map">QueryDescriptor</a></code>, <code><a href="../map/Relationship.html" title="class in org.apache.cayenne.map">Relationship</a></code>, <code><a href="../map/SelectQueryDescriptor.html" title="class in org.apache.cayenne.map">SelectQueryDescriptor</a></code>, <code><a href="../exp/parser/SimpleNode.html" title="class in org.apache.cayenne.exp.parser">SimpleNode</a></code>, <code><a href="../map/SQLTemplateDescriptor.html" title="class in org.apache.cayenne.map">SQLTemplateDescriptor</a></code></dd>
</dl>
<hr>
<pre>public interface <span class="typeNameLabel">XMLSerializable</span></pre>
<div class="block">Interface for Cayenne objects that can be saved to XML.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1</dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#encodeAsXML(org.apache.cayenne.util.XMLEncoder,org.apache.cayenne.configuration.ConfigurationNodeVisitor)">encodeAsXML</a></span>&#8203;(<a href="XMLEncoder.html" title="class in org.apache.cayenne.util">XMLEncoder</a>&nbsp;encoder,
<a href="../configuration/ConfigurationNodeVisitor.html" title="interface in org.apache.cayenne.configuration">ConfigurationNodeVisitor</a>&nbsp;delegate)</code></th>
<td class="colLast">
<div class="block">Prints itself as XML to the provided XMLEncoder.</div>
</td>
</tr>
</table>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="encodeAsXML(org.apache.cayenne.util.XMLEncoder,org.apache.cayenne.configuration.ConfigurationNodeVisitor)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>encodeAsXML</h4>
<pre class="methodSignature">void&nbsp;encodeAsXML&#8203;(<a href="XMLEncoder.html" title="class in org.apache.cayenne.util">XMLEncoder</a>&nbsp;encoder,
<a href="../configuration/ConfigurationNodeVisitor.html" title="interface in org.apache.cayenne.configuration">ConfigurationNodeVisitor</a>&nbsp;delegate)</pre>
<div class="block">Prints itself as XML to the provided XMLEncoder.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/XMLSerializable.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>
<div class="aboutLanguage"><a href="http://cayenne.apache.org" target="top">Apache Cayenne</a></div>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2001&#x2013;2022 <a href="https://cayenne.apache.org/">Apache Cayenne</a>. All rights reserved.</small></p>
</footer>
</body>
</html>