1
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
|
<!-- NewPage -->
|
3
|
<html lang="cs">
|
4
|
<head>
|
5
|
<!-- Generated by javadoc (1.8.0_45) on Thu May 07 16:47:37 CEST 2020 -->
|
6
|
<title>contentbase</title>
|
7
|
<meta name="date" content="2020-05-07">
|
8
|
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
9
|
<script type="text/javascript" src="../script.js"></script>
|
10
|
</head>
|
11
|
<body>
|
12
|
<script type="text/javascript"><!--
|
13
|
try {
|
14
|
if (location.href.indexOf('is-external=true') == -1) {
|
15
|
parent.document.title="contentbase";
|
16
|
}
|
17
|
}
|
18
|
catch(err) {
|
19
|
}
|
20
|
//-->
|
21
|
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
|
22
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
23
|
var altColor = "altColor";
|
24
|
var rowColor = "rowColor";
|
25
|
var tableTab = "tableTab";
|
26
|
var activeTableTab = "activeTableTab";
|
27
|
</script>
|
28
|
<noscript>
|
29
|
<div>JavaScript is disabled on your browser.</div>
|
30
|
</noscript>
|
31
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
32
|
<div class="topNav"><a name="navbar.top">
|
33
|
<!-- -->
|
34
|
</a>
|
35
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
36
|
<a name="navbar.top.firstrow">
|
37
|
<!-- -->
|
38
|
</a>
|
39
|
<ul class="navList" title="Navigation">
|
40
|
<li><a href="../overview-summary.html">Overview</a></li>
|
41
|
<li><a href="package-summary.html">Package</a></li>
|
42
|
<li class="navBarCell1Rev">Class</li>
|
43
|
<li><a href="class-use/contentbase.html">Use</a></li>
|
44
|
<li><a href="package-tree.html">Tree</a></li>
|
45
|
<li><a href="../deprecated-list.html">Deprecated</a></li>
|
46
|
<li><a href="../index-files/index-1.html">Index</a></li>
|
47
|
<li><a href="../help-doc.html">Help</a></li>
|
48
|
</ul>
|
49
|
</div>
|
50
|
<div class="subNav">
|
51
|
<ul class="navList">
|
52
|
<li><a href="../jdeserialize/content.html" title="interface in jdeserialize"><span class="typeNameLink">Prev Class</span></a></li>
|
53
|
<li><a href="../jdeserialize/contenttype.html" title="enum in jdeserialize"><span class="typeNameLink">Next Class</span></a></li>
|
54
|
</ul>
|
55
|
<ul class="navList">
|
56
|
<li><a href="../index.html?jdeserialize/contentbase.html" target="_top">Frames</a></li>
|
57
|
<li><a href="contentbase.html" target="_top">No Frames</a></li>
|
58
|
</ul>
|
59
|
<ul class="navList" id="allclasses_navbar_top">
|
60
|
<li><a href="../allclasses-noframe.html">All Classes</a></li>
|
61
|
</ul>
|
62
|
<div>
|
63
|
<script type="text/javascript"><!--
|
64
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
65
|
if(window==top) {
|
66
|
allClassesLink.style.display = "block";
|
67
|
}
|
68
|
else {
|
69
|
allClassesLink.style.display = "none";
|
70
|
}
|
71
|
//-->
|
72
|
</script>
|
73
|
</div>
|
74
|
<div>
|
75
|
<ul class="subNavList">
|
76
|
<li>Summary: </li>
|
77
|
<li>Nested | </li>
|
78
|
<li><a href="#field.summary">Field</a> | </li>
|
79
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
80
|
<li><a href="#method.summary">Method</a></li>
|
81
|
</ul>
|
82
|
<ul class="subNavList">
|
83
|
<li>Detail: </li>
|
84
|
<li><a href="#field.detail">Field</a> | </li>
|
85
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
86
|
<li><a href="#method.detail">Method</a></li>
|
87
|
</ul>
|
88
|
</div>
|
89
|
<a name="skip.navbar.top">
|
90
|
<!-- -->
|
91
|
</a></div>
|
92
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
93
|
<!-- ======== START OF CLASS DATA ======== -->
|
94
|
<div class="header">
|
95
|
<div class="subTitle">jdeserialize</div>
|
96
|
<h2 title="Class contentbase" class="title">Class contentbase</h2>
|
97
|
</div>
|
98
|
<div class="contentContainer">
|
99
|
<ul class="inheritance">
|
100
|
<li>java.lang.Object</li>
|
101
|
<li>
|
102
|
<ul class="inheritance">
|
103
|
<li>jdeserialize.contentbase</li>
|
104
|
</ul>
|
105
|
</li>
|
106
|
</ul>
|
107
|
<div class="description">
|
108
|
<ul class="blockList">
|
109
|
<li class="blockList">
|
110
|
<dl>
|
111
|
<dt>All Implemented Interfaces:</dt>
|
112
|
<dd><a href="../jdeserialize/content.html" title="interface in jdeserialize">content</a></dd>
|
113
|
</dl>
|
114
|
<dl>
|
115
|
<dt>Direct Known Subclasses:</dt>
|
116
|
<dd><a href="../jdeserialize/arrayobj.html" title="class in jdeserialize">arrayobj</a>, <a href="../jdeserialize/blockdata.html" title="class in jdeserialize">blockdata</a>, <a href="../jdeserialize/classdesc.html" title="class in jdeserialize">classdesc</a>, <a href="../jdeserialize/classobj.html" title="class in jdeserialize">classobj</a>, <a href="../jdeserialize/enumobj.html" title="class in jdeserialize">enumobj</a>, <a href="../jdeserialize/exceptionstate.html" title="class in jdeserialize">exceptionstate</a>, <a href="../jdeserialize/instance.html" title="class in jdeserialize">instance</a>, <a href="../jdeserialize/stringobj.html" title="class in jdeserialize">stringobj</a></dd>
|
117
|
</dl>
|
118
|
<hr>
|
119
|
<br>
|
120
|
<pre>public class <span class="typeNameLabel">contentbase</span>
|
121
|
extends java.lang.Object
|
122
|
implements <a href="../jdeserialize/content.html" title="interface in jdeserialize">content</a></pre>
|
123
|
<div class="block">Provides a skeleton content implementation.</div>
|
124
|
</li>
|
125
|
</ul>
|
126
|
</div>
|
127
|
<div class="summary">
|
128
|
<ul class="blockList">
|
129
|
<li class="blockList">
|
130
|
<!-- =========== FIELD SUMMARY =========== -->
|
131
|
<ul class="blockList">
|
132
|
<li class="blockList"><a name="field.summary">
|
133
|
<!-- -->
|
134
|
</a>
|
135
|
<h3>Field Summary</h3>
|
136
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
137
|
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
138
|
<tr>
|
139
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
140
|
<th class="colLast" scope="col">Field and Description</th>
|
141
|
</tr>
|
142
|
<tr class="altColor">
|
143
|
<td class="colFirst"><code>int</code></td>
|
144
|
<td class="colLast"><code><span class="memberNameLink"><a href="../jdeserialize/contentbase.html#handle">handle</a></span></code> </td>
|
145
|
</tr>
|
146
|
<tr class="rowColor">
|
147
|
<td class="colFirst"><code>boolean</code></td>
|
148
|
<td class="colLast"><code><span class="memberNameLink"><a href="../jdeserialize/contentbase.html#isExceptionObject">isExceptionObject</a></span></code> </td>
|
149
|
</tr>
|
150
|
<tr class="altColor">
|
151
|
<td class="colFirst"><code>protected <a href="../jdeserialize/contenttype.html" title="enum in jdeserialize">contenttype</a></code></td>
|
152
|
<td class="colLast"><code><span class="memberNameLink"><a href="../jdeserialize/contentbase.html#type">type</a></span></code> </td>
|
153
|
</tr>
|
154
|
</table>
|
155
|
<ul class="blockList">
|
156
|
<li class="blockList"><a name="fields.inherited.from.class.jdeserialize.content">
|
157
|
<!-- -->
|
158
|
</a>
|
159
|
<h3>Fields inherited from interface jdeserialize.<a href="../jdeserialize/content.html" title="interface in jdeserialize">content</a></h3>
|
160
|
<code><a href="../jdeserialize/content.html#INDENT">INDENT</a>, <a href="../jdeserialize/content.html#NEW_LINE">NEW_LINE</a></code></li>
|
161
|
</ul>
|
162
|
</li>
|
163
|
</ul>
|
164
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
165
|
<ul class="blockList">
|
166
|
<li class="blockList"><a name="constructor.summary">
|
167
|
<!-- -->
|
168
|
</a>
|
169
|
<h3>Constructor Summary</h3>
|
170
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
171
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
172
|
<tr>
|
173
|
<th class="colOne" scope="col">Constructor and Description</th>
|
174
|
</tr>
|
175
|
<tr class="altColor">
|
176
|
<td class="colOne"><code><span class="memberNameLink"><a href="../jdeserialize/contentbase.html#contentbase-jdeserialize.contenttype-">contentbase</a></span>(<a href="../jdeserialize/contenttype.html" title="enum in jdeserialize">contenttype</a> type)</code> </td>
|
177
|
</tr>
|
178
|
</table>
|
179
|
</li>
|
180
|
</ul>
|
181
|
<!-- ========== METHOD SUMMARY =========== -->
|
182
|
<ul class="blockList">
|
183
|
<li class="blockList"><a name="method.summary">
|
184
|
<!-- -->
|
185
|
</a>
|
186
|
<h3>Method Summary</h3>
|
187
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
188
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
189
|
<tr>
|
190
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
191
|
<th class="colLast" scope="col">Method and Description</th>
|
192
|
</tr>
|
193
|
<tr id="i0" class="altColor">
|
194
|
<td class="colFirst"><code>int</code></td>
|
195
|
<td class="colLast"><code><span class="memberNameLink"><a href="../jdeserialize/contentbase.html#getHandle--">getHandle</a></span>()</code>
|
196
|
<div class="block">
|
197
|
Get the numeric handle by which this object was referred to in the object stream.</div>
|
198
|
</td>
|
199
|
</tr>
|
200
|
<tr id="i1" class="rowColor">
|
201
|
<td class="colFirst"><code><a href="../jdeserialize/contenttype.html" title="enum in jdeserialize">contenttype</a></code></td>
|
202
|
<td class="colLast"><code><span class="memberNameLink"><a href="../jdeserialize/contentbase.html#getType--">getType</a></span>()</code> </td>
|
203
|
</tr>
|
204
|
<tr id="i2" class="altColor">
|
205
|
<td class="colFirst"><code>boolean</code></td>
|
206
|
<td class="colLast"><code><span class="memberNameLink"><a href="../jdeserialize/contentbase.html#isExceptionObject--">isExceptionObject</a></span>()</code>
|
207
|
<div class="block">
|
208
|
Tells whether or not this object is an exception that was caught during
|
209
|
serialization.</div>
|
210
|
</td>
|
211
|
</tr>
|
212
|
<tr id="i3" class="rowColor">
|
213
|
<td class="colFirst"><code>void</code></td>
|
214
|
<td class="colLast"><code><span class="memberNameLink"><a href="../jdeserialize/contentbase.html#setIsExceptionObject-boolean-">setIsExceptionObject</a></span>(boolean value)</code>
|
215
|
<div class="block">Sets the flag that tells whether or not this object is an exception that was caught
|
216
|
during serialization.</div>
|
217
|
</td>
|
218
|
</tr>
|
219
|
<tr id="i4" class="altColor">
|
220
|
<td class="colFirst"><code>java.lang.String</code></td>
|
221
|
<td class="colLast"><code><span class="memberNameLink"><a href="../jdeserialize/contentbase.html#toJson-java.lang.String-java.util.Map-boolean-">toJson</a></span>(java.lang.String indetation,
|
222
|
java.util.Map<<a href="../jdeserialize/classdesc.html" title="class in jdeserialize">classdesc</a>,java.util.Map<<a href="../jdeserialize/field.html" title="class in jdeserialize">field</a>,java.lang.Object>> fielddata,
|
223
|
boolean child)</code>
|
224
|
<div class="block">
|
225
|
Analogy for toString method; however, outputs its string in json formatting.</div>
|
226
|
</td>
|
227
|
</tr>
|
228
|
<tr id="i5" class="rowColor">
|
229
|
<td class="colFirst"><code>void</code></td>
|
230
|
<td class="colLast"><code><span class="memberNameLink"><a href="../jdeserialize/contentbase.html#validate--">validate</a></span>()</code>
|
231
|
<div class="block">Performs extra object-specific validity checks.</div>
|
232
|
</td>
|
233
|
</tr>
|
234
|
</table>
|
235
|
<ul class="blockList">
|
236
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
237
|
<!-- -->
|
238
|
</a>
|
239
|
<h3>Methods inherited from class java.lang.Object</h3>
|
240
|
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
241
|
</ul>
|
242
|
</li>
|
243
|
</ul>
|
244
|
</li>
|
245
|
</ul>
|
246
|
</div>
|
247
|
<div class="details">
|
248
|
<ul class="blockList">
|
249
|
<li class="blockList">
|
250
|
<!-- ============ FIELD DETAIL =========== -->
|
251
|
<ul class="blockList">
|
252
|
<li class="blockList"><a name="field.detail">
|
253
|
<!-- -->
|
254
|
</a>
|
255
|
<h3>Field Detail</h3>
|
256
|
<a name="handle">
|
257
|
<!-- -->
|
258
|
</a>
|
259
|
<ul class="blockList">
|
260
|
<li class="blockList">
|
261
|
<h4>handle</h4>
|
262
|
<pre>public int handle</pre>
|
263
|
</li>
|
264
|
</ul>
|
265
|
<a name="isExceptionObject">
|
266
|
<!-- -->
|
267
|
</a>
|
268
|
<ul class="blockList">
|
269
|
<li class="blockList">
|
270
|
<h4>isExceptionObject</h4>
|
271
|
<pre>public boolean isExceptionObject</pre>
|
272
|
</li>
|
273
|
</ul>
|
274
|
<a name="type">
|
275
|
<!-- -->
|
276
|
</a>
|
277
|
<ul class="blockListLast">
|
278
|
<li class="blockList">
|
279
|
<h4>type</h4>
|
280
|
<pre>protected <a href="../jdeserialize/contenttype.html" title="enum in jdeserialize">contenttype</a> type</pre>
|
281
|
</li>
|
282
|
</ul>
|
283
|
</li>
|
284
|
</ul>
|
285
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
286
|
<ul class="blockList">
|
287
|
<li class="blockList"><a name="constructor.detail">
|
288
|
<!-- -->
|
289
|
</a>
|
290
|
<h3>Constructor Detail</h3>
|
291
|
<a name="contentbase-jdeserialize.contenttype-">
|
292
|
<!-- -->
|
293
|
</a>
|
294
|
<ul class="blockListLast">
|
295
|
<li class="blockList">
|
296
|
<h4>contentbase</h4>
|
297
|
<pre>public contentbase(<a href="../jdeserialize/contenttype.html" title="enum in jdeserialize">contenttype</a> type)</pre>
|
298
|
</li>
|
299
|
</ul>
|
300
|
</li>
|
301
|
</ul>
|
302
|
<!-- ============ METHOD DETAIL ========== -->
|
303
|
<ul class="blockList">
|
304
|
<li class="blockList"><a name="method.detail">
|
305
|
<!-- -->
|
306
|
</a>
|
307
|
<h3>Method Detail</h3>
|
308
|
<a name="isExceptionObject--">
|
309
|
<!-- -->
|
310
|
</a>
|
311
|
<ul class="blockList">
|
312
|
<li class="blockList">
|
313
|
<h4>isExceptionObject</h4>
|
314
|
<pre>public boolean isExceptionObject()</pre>
|
315
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../jdeserialize/content.html#isExceptionObject--">content</a></code></span></div>
|
316
|
<div class="block"><p>
|
317
|
Tells whether or not this object is an exception that was caught during
|
318
|
serialization.
|
319
|
</p>
|
320
|
|
321
|
<p>
|
322
|
<b>Note</b>: Not every Throwable or Exception in the stream will have this flag set to
|
323
|
true; only those which were thrown <i>during serialization</i> will
|
324
|
</p></div>
|
325
|
<dl>
|
326
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
327
|
<dd><code><a href="../jdeserialize/content.html#isExceptionObject--">isExceptionObject</a></code> in interface <code><a href="../jdeserialize/content.html" title="interface in jdeserialize">content</a></code></dd>
|
328
|
<dt><span class="returnLabel">Returns:</span></dt>
|
329
|
<dd>true iff the object was an exception thrown during serialization</dd>
|
330
|
</dl>
|
331
|
</li>
|
332
|
</ul>
|
333
|
<a name="setIsExceptionObject-boolean-">
|
334
|
<!-- -->
|
335
|
</a>
|
336
|
<ul class="blockList">
|
337
|
<li class="blockList">
|
338
|
<h4>setIsExceptionObject</h4>
|
339
|
<pre>public void setIsExceptionObject(boolean value)</pre>
|
340
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../jdeserialize/content.html#setIsExceptionObject-boolean-">content</a></code></span></div>
|
341
|
<div class="block">Sets the flag that tells whether or not this object is an exception that was caught
|
342
|
during serialization.</div>
|
343
|
<dl>
|
344
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
345
|
<dd><code><a href="../jdeserialize/content.html#setIsExceptionObject-boolean-">setIsExceptionObject</a></code> in interface <code><a href="../jdeserialize/content.html" title="interface in jdeserialize">content</a></code></dd>
|
346
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
347
|
<dd><code>value</code> - the new value to use</dd>
|
348
|
</dl>
|
349
|
</li>
|
350
|
</ul>
|
351
|
<a name="getType--">
|
352
|
<!-- -->
|
353
|
</a>
|
354
|
<ul class="blockList">
|
355
|
<li class="blockList">
|
356
|
<h4>getType</h4>
|
357
|
<pre>public <a href="../jdeserialize/contenttype.html" title="enum in jdeserialize">contenttype</a> getType()</pre>
|
358
|
<dl>
|
359
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
360
|
<dd><code><a href="../jdeserialize/content.html#getType--">getType</a></code> in interface <code><a href="../jdeserialize/content.html" title="interface in jdeserialize">content</a></code></dd>
|
361
|
<dt><span class="returnLabel">Returns:</span></dt>
|
362
|
<dd>the type of instance represented by this object.</dd>
|
363
|
</dl>
|
364
|
</li>
|
365
|
</ul>
|
366
|
<a name="getHandle--">
|
367
|
<!-- -->
|
368
|
</a>
|
369
|
<ul class="blockList">
|
370
|
<li class="blockList">
|
371
|
<h4>getHandle</h4>
|
372
|
<pre>public int getHandle()</pre>
|
373
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../jdeserialize/content.html#getHandle--">content</a></code></span></div>
|
374
|
<div class="block"><p>
|
375
|
Get the numeric handle by which this object was referred to in the object stream.
|
376
|
These handles are used internally by Object{Output,Input}Stream as a mechanism to
|
377
|
avoid costly duplication.
|
378
|
</p>
|
379
|
|
380
|
<p>
|
381
|
CAUTION: they are *not* necessarily unique across all objects in a given stream!
|
382
|
If an exception was thrown during serialization (which is most likely to happen
|
383
|
during a serialized objct's writeObject() implementation), then the stream resets
|
384
|
before and after the exception is serialized.
|
385
|
</p></div>
|
386
|
<dl>
|
387
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
388
|
<dd><code><a href="../jdeserialize/content.html#getHandle--">getHandle</a></code> in interface <code><a href="../jdeserialize/content.html" title="interface in jdeserialize">content</a></code></dd>
|
389
|
<dt><span class="returnLabel">Returns:</span></dt>
|
390
|
<dd>the handle assigned in the stream</dd>
|
391
|
</dl>
|
392
|
</li>
|
393
|
</ul>
|
394
|
<a name="validate--">
|
395
|
<!-- -->
|
396
|
</a>
|
397
|
<ul class="blockList">
|
398
|
<li class="blockList">
|
399
|
<h4>validate</h4>
|
400
|
<pre>public void validate()
|
401
|
throws <a href="../jdeserialize/ValidityException.html" title="class in jdeserialize">ValidityException</a></pre>
|
402
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../jdeserialize/content.html#validate--">content</a></code></span></div>
|
403
|
<div class="block">Performs extra object-specific validity checks.</div>
|
404
|
<dl>
|
405
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
406
|
<dd><code><a href="../jdeserialize/content.html#validate--">validate</a></code> in interface <code><a href="../jdeserialize/content.html" title="interface in jdeserialize">content</a></code></dd>
|
407
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
408
|
<dd><code><a href="../jdeserialize/ValidityException.html" title="class in jdeserialize">ValidityException</a></code> - if the object's state is invalid</dd>
|
409
|
</dl>
|
410
|
</li>
|
411
|
</ul>
|
412
|
<a name="toJson-java.lang.String-java.util.Map-boolean-">
|
413
|
<!-- -->
|
414
|
</a>
|
415
|
<ul class="blockListLast">
|
416
|
<li class="blockList">
|
417
|
<h4>toJson</h4>
|
418
|
<pre>public java.lang.String toJson(java.lang.String indetation,
|
419
|
java.util.Map<<a href="../jdeserialize/classdesc.html" title="class in jdeserialize">classdesc</a>,java.util.Map<<a href="../jdeserialize/field.html" title="class in jdeserialize">field</a>,java.lang.Object>> fielddata,
|
420
|
boolean child)</pre>
|
421
|
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../jdeserialize/content.html#toJson-java.lang.String-java.util.Map-boolean-">content</a></code></span></div>
|
422
|
<div class="block"><p>
|
423
|
Analogy for toString method; however, outputs its string in json formatting.
|
424
|
Returns the exact json representation of object with indentation.
|
425
|
</p>
|
426
|
<p>
|
427
|
Inherited by multiple classes via contentbase, often calls itself for another object
|
428
|
</p></div>
|
429
|
<dl>
|
430
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
431
|
<dd><code><a href="../jdeserialize/content.html#toJson-java.lang.String-java.util.Map-boolean-">toJson</a></code> in interface <code><a href="../jdeserialize/content.html" title="interface in jdeserialize">content</a></code></dd>
|
432
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
433
|
<dd><code>indetation</code> - starting indentation for json output</dd>
|
434
|
<dd><code>fielddata</code> - used when calling this method for inner instances
|
435
|
so the instance has info about its variables.
|
436
|
Instance info is saved in another content space than
|
437
|
info about its field variables, so it must be provided by parameter
|
438
|
to inner instances</dd>
|
439
|
<dd><code>child</code> - tells that the instance is child of another because of indentation</dd>
|
440
|
<dt><span class="returnLabel">Returns:</span></dt>
|
441
|
<dd>The string in json format representing this instance</dd>
|
442
|
</dl>
|
443
|
</li>
|
444
|
</ul>
|
445
|
</li>
|
446
|
</ul>
|
447
|
</li>
|
448
|
</ul>
|
449
|
</div>
|
450
|
</div>
|
451
|
<!-- ========= END OF CLASS DATA ========= -->
|
452
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
453
|
<div class="bottomNav"><a name="navbar.bottom">
|
454
|
<!-- -->
|
455
|
</a>
|
456
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
457
|
<a name="navbar.bottom.firstrow">
|
458
|
<!-- -->
|
459
|
</a>
|
460
|
<ul class="navList" title="Navigation">
|
461
|
<li><a href="../overview-summary.html">Overview</a></li>
|
462
|
<li><a href="package-summary.html">Package</a></li>
|
463
|
<li class="navBarCell1Rev">Class</li>
|
464
|
<li><a href="class-use/contentbase.html">Use</a></li>
|
465
|
<li><a href="package-tree.html">Tree</a></li>
|
466
|
<li><a href="../deprecated-list.html">Deprecated</a></li>
|
467
|
<li><a href="../index-files/index-1.html">Index</a></li>
|
468
|
<li><a href="../help-doc.html">Help</a></li>
|
469
|
</ul>
|
470
|
</div>
|
471
|
<div class="subNav">
|
472
|
<ul class="navList">
|
473
|
<li><a href="../jdeserialize/content.html" title="interface in jdeserialize"><span class="typeNameLink">Prev Class</span></a></li>
|
474
|
<li><a href="../jdeserialize/contenttype.html" title="enum in jdeserialize"><span class="typeNameLink">Next Class</span></a></li>
|
475
|
</ul>
|
476
|
<ul class="navList">
|
477
|
<li><a href="../index.html?jdeserialize/contentbase.html" target="_top">Frames</a></li>
|
478
|
<li><a href="contentbase.html" target="_top">No Frames</a></li>
|
479
|
</ul>
|
480
|
<ul class="navList" id="allclasses_navbar_bottom">
|
481
|
<li><a href="../allclasses-noframe.html">All Classes</a></li>
|
482
|
</ul>
|
483
|
<div>
|
484
|
<script type="text/javascript"><!--
|
485
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
486
|
if(window==top) {
|
487
|
allClassesLink.style.display = "block";
|
488
|
}
|
489
|
else {
|
490
|
allClassesLink.style.display = "none";
|
491
|
}
|
492
|
//-->
|
493
|
</script>
|
494
|
</div>
|
495
|
<div>
|
496
|
<ul class="subNavList">
|
497
|
<li>Summary: </li>
|
498
|
<li>Nested | </li>
|
499
|
<li><a href="#field.summary">Field</a> | </li>
|
500
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
501
|
<li><a href="#method.summary">Method</a></li>
|
502
|
</ul>
|
503
|
<ul class="subNavList">
|
504
|
<li>Detail: </li>
|
505
|
<li><a href="#field.detail">Field</a> | </li>
|
506
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
507
|
<li><a href="#method.detail">Method</a></li>
|
508
|
</ul>
|
509
|
</div>
|
510
|
<a name="skip.navbar.bottom">
|
511
|
<!-- -->
|
512
|
</a></div>
|
513
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
514
|
</body>
|
515
|
</html>
|