• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (version 1.7.0_10-ea) on Sun Jul 14 20:03:32 PDT 2013 -->
6<title>BooleanNode (Jackson JSON Processor)</title>
7<meta name="date" content="2013-07-14">
8<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
9</head>
10<body>
11<script type="text/javascript"><!--
12    if (location.href.indexOf('is-external=true') == -1) {
13        parent.document.title="BooleanNode (Jackson JSON Processor)";
14    }
15//-->
16</script>
17<noscript>
18<div>JavaScript is disabled on your browser.</div>
19</noscript>
20<!-- ========= START OF TOP NAVBAR ======= -->
21<div class="topNav"><a name="navbar_top">
22<!--   -->
23</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
24<!--   -->
25</a>
26<ul class="navList" title="Navigation">
27<li><a href="../../../../overview-summary.html">Overview</a></li>
28<li><a href="package-summary.html">Package</a></li>
29<li class="navBarCell1Rev">Class</li>
30<li><a href="class-use/BooleanNode.html">Use</a></li>
31<li><a href="package-tree.html">Tree</a></li>
32<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
33<li><a href="../../../../index-all.html">Index</a></li>
34<li><a href="../../../../help-doc.html">Help</a></li>
35</ul>
36</div>
37<div class="subNav">
38<ul class="navList">
39<li><a href="../../../../org/codehaus/jackson/node/BinaryNode.html" title="class in org.codehaus.jackson.node"><span class="strong">Prev Class</span></a></li>
40<li><a href="../../../../org/codehaus/jackson/node/ContainerNode.html" title="class in org.codehaus.jackson.node"><span class="strong">Next Class</span></a></li>
41</ul>
42<ul class="navList">
43<li><a href="../../../../index.html?org/codehaus/jackson/node/BooleanNode.html" target="_top">Frames</a></li>
44<li><a href="BooleanNode.html" target="_top">No Frames</a></li>
45</ul>
46<ul class="navList" id="allclasses_navbar_top">
47<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
48</ul>
49<div>
50<script type="text/javascript"><!--
51  allClassesLink = document.getElementById("allclasses_navbar_top");
52  if(window==top) {
53    allClassesLink.style.display = "block";
54  }
55  else {
56    allClassesLink.style.display = "none";
57  }
58  //-->
59</script>
60</div>
61<div>
62<ul class="subNavList">
63<li>Summary:&nbsp;</li>
64<li>Nested&nbsp;|&nbsp;</li>
65<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
66<li>Constr&nbsp;|&nbsp;</li>
67<li><a href="#method_summary">Method</a></li>
68</ul>
69<ul class="subNavList">
70<li>Detail:&nbsp;</li>
71<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
72<li>Constr&nbsp;|&nbsp;</li>
73<li><a href="#method_detail">Method</a></li>
74</ul>
75</div>
76<a name="skip-navbar_top">
77<!--   -->
78</a></div>
79<!-- ========= END OF TOP NAVBAR ========= -->
80<!-- ======== START OF CLASS DATA ======== -->
81<div class="header">
82<div class="subTitle">org.codehaus.jackson.node</div>
83<h2 title="Class BooleanNode" class="title">Class BooleanNode</h2>
84</div>
85<div class="contentContainer">
86<ul class="inheritance">
87<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
88<li>
89<ul class="inheritance">
90<li><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">org.codehaus.jackson.JsonNode</a></li>
91<li>
92<ul class="inheritance">
93<li><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html" title="class in org.codehaus.jackson.node">org.codehaus.jackson.node.BaseJsonNode</a></li>
94<li>
95<ul class="inheritance">
96<li><a href="../../../../org/codehaus/jackson/node/ValueNode.html" title="class in org.codehaus.jackson.node">org.codehaus.jackson.node.ValueNode</a></li>
97<li>
98<ul class="inheritance">
99<li>org.codehaus.jackson.node.BooleanNode</li>
100</ul>
101</li>
102</ul>
103</li>
104</ul>
105</li>
106</ul>
107</li>
108</ul>
109<div class="description">
110<ul class="blockList">
111<li class="blockList">
112<dl>
113<dt>All Implemented Interfaces:</dt>
114<dd><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a>&gt;, <a href="../../../../org/codehaus/jackson/map/JsonSerializable.html" title="interface in org.codehaus.jackson.map">JsonSerializable</a>, <a href="../../../../org/codehaus/jackson/map/JsonSerializableWithType.html" title="interface in org.codehaus.jackson.map">JsonSerializableWithType</a></dd>
115</dl>
116<hr>
117<br>
118<pre>public final class <span class="strong">BooleanNode</span>
119extends <a href="../../../../org/codehaus/jackson/node/ValueNode.html" title="class in org.codehaus.jackson.node">ValueNode</a></pre>
120<div class="block">This concrete value class is used to contain boolean (true / false)
121 values. Only two instances are ever created, to minimize memory
122 usage</div>
123</li>
124</ul>
125</div>
126<div class="summary">
127<ul class="blockList">
128<li class="blockList">
129<!-- =========== FIELD SUMMARY =========== -->
130<ul class="blockList">
131<li class="blockList"><a name="field_summary">
132<!--   -->
133</a>
134<h3>Field Summary</h3>
135<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
136<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
137<tr>
138<th class="colFirst" scope="col">Modifier and Type</th>
139<th class="colLast" scope="col">Field and Description</th>
140</tr>
141<tr class="altColor">
142<td class="colFirst"><code>static <a href="../../../../org/codehaus/jackson/node/BooleanNode.html" title="class in org.codehaus.jackson.node">BooleanNode</a></code></td>
143<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BooleanNode.html#FALSE">FALSE</a></strong></code>&nbsp;</td>
144</tr>
145<tr class="rowColor">
146<td class="colFirst"><code>static <a href="../../../../org/codehaus/jackson/node/BooleanNode.html" title="class in org.codehaus.jackson.node">BooleanNode</a></code></td>
147<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BooleanNode.html#TRUE">TRUE</a></strong></code>&nbsp;</td>
148</tr>
149</table>
150<ul class="blockList">
151<li class="blockList"><a name="fields_inherited_from_class_org.codehaus.jackson.JsonNode">
152<!--   -->
153</a>
154<h3>Fields inherited from class&nbsp;org.codehaus.jackson.<a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></h3>
155<code><a href="../../../../org/codehaus/jackson/JsonNode.html#NO_NODES">NO_NODES</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#NO_STRINGS">NO_STRINGS</a></code></li>
156</ul>
157</li>
158</ul>
159<!-- ========== METHOD SUMMARY =========== -->
160<ul class="blockList">
161<li class="blockList"><a name="method_summary">
162<!--   -->
163</a>
164<h3>Method Summary</h3>
165<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
166<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
167<tr>
168<th class="colFirst" scope="col">Modifier and Type</th>
169<th class="colLast" scope="col">Method and Description</th>
170</tr>
171<tr class="altColor">
172<td class="colFirst"><code>boolean</code></td>
173<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BooleanNode.html#asBoolean()">asBoolean</a></strong>()</code>
174<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.</div>
175</td>
176</tr>
177<tr class="rowColor">
178<td class="colFirst"><code>boolean</code></td>
179<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BooleanNode.html#asBoolean(boolean)">asBoolean</a></strong>(boolean&nbsp;defaultValue)</code>
180<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.</div>
181</td>
182</tr>
183<tr class="altColor">
184<td class="colFirst"><code>double</code></td>
185<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BooleanNode.html#asDouble(double)">asDouble</a></strong>(double&nbsp;defaultValue)</code>
186<div class="block">Method that will try to convert value of this node to a Java <b>double</b>.</div>
187</td>
188</tr>
189<tr class="rowColor">
190<td class="colFirst"><code>int</code></td>
191<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BooleanNode.html#asInt(int)">asInt</a></strong>(int&nbsp;defaultValue)</code>
192<div class="block">Method that will try to convert value of this node to a Java <b>int</b>.</div>
193</td>
194</tr>
195<tr class="altColor">
196<td class="colFirst"><code>long</code></td>
197<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BooleanNode.html#asLong(long)">asLong</a></strong>(long&nbsp;defaultValue)</code>
198<div class="block">Method that will try to convert value of this node to a Java <b>long</b>.</div>
199</td>
200</tr>
201<tr class="rowColor">
202<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
203<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BooleanNode.html#asText()">asText</a></strong>()</code>
204<div class="block">Method that will return valid String representation of
205 the container value, if the node is a value node
206 (method <a href="../../../../org/codehaus/jackson/JsonNode.html#isValueNode()"><code>JsonNode.isValueNode()</code></a> returns true), otherwise
207 empty String.</div>
208</td>
209</tr>
210<tr class="altColor">
211<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson">JsonToken</a></code></td>
212<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BooleanNode.html#asToken()">asToken</a></strong>()</code>
213<div class="block">Method that can be used for efficient type detection
214 when using stream abstraction for traversing nodes.</div>
215</td>
216</tr>
217<tr class="rowColor">
218<td class="colFirst"><code>boolean</code></td>
219<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BooleanNode.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>
220<div class="block">Equality for node objects is defined as full (deep) value
221 equality.</div>
222</td>
223</tr>
224<tr class="altColor">
225<td class="colFirst"><code>boolean</code></td>
226<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BooleanNode.html#getBooleanValue()">getBooleanValue</a></strong>()</code>
227<div class="block">Method to use for accessing JSON boolean values (value
228 literals 'true' and 'false').</div>
229</td>
230</tr>
231<tr class="rowColor">
232<td class="colFirst"><code>static <a href="../../../../org/codehaus/jackson/node/BooleanNode.html" title="class in org.codehaus.jackson.node">BooleanNode</a></code></td>
233<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BooleanNode.html#getFalse()">getFalse</a></strong>()</code>&nbsp;</td>
234</tr>
235<tr class="altColor">
236<td class="colFirst"><code>static <a href="../../../../org/codehaus/jackson/node/BooleanNode.html" title="class in org.codehaus.jackson.node">BooleanNode</a></code></td>
237<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BooleanNode.html#getTrue()">getTrue</a></strong>()</code>&nbsp;</td>
238</tr>
239<tr class="rowColor">
240<td class="colFirst"><code>boolean</code></td>
241<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BooleanNode.html#isBoolean()">isBoolean</a></strong>()</code>
242<div class="block">Method that can be used to check if this node was created from
243 Json boolean value (literals "true" and "false").</div>
244</td>
245</tr>
246<tr class="altColor">
247<td class="colFirst"><code>void</code></td>
248<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BooleanNode.html#serialize(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider)">serialize</a></strong>(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg,
249         <a href="../../../../org/codehaus/jackson/map/SerializerProvider.html" title="class in org.codehaus.jackson.map">SerializerProvider</a>&nbsp;provider)</code>
250<div class="block">Method called to serialize node instances using given generator.</div>
251</td>
252</tr>
253<tr class="rowColor">
254<td class="colFirst"><code>static <a href="../../../../org/codehaus/jackson/node/BooleanNode.html" title="class in org.codehaus.jackson.node">BooleanNode</a></code></td>
255<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/node/BooleanNode.html#valueOf(boolean)">valueOf</a></strong>(boolean&nbsp;b)</code>&nbsp;</td>
256</tr>
257</table>
258<ul class="blockList">
259<li class="blockList"><a name="methods_inherited_from_class_org.codehaus.jackson.node.ValueNode">
260<!--   -->
261</a>
262<h3>Methods inherited from class&nbsp;org.codehaus.jackson.node.<a href="../../../../org/codehaus/jackson/node/ValueNode.html" title="class in org.codehaus.jackson.node">ValueNode</a></h3>
263<code><a href="../../../../org/codehaus/jackson/node/ValueNode.html#isValueNode()">isValueNode</a>, <a href="../../../../org/codehaus/jackson/node/ValueNode.html#path(int)">path</a>, <a href="../../../../org/codehaus/jackson/node/ValueNode.html#path(java.lang.String)">path</a>, <a href="../../../../org/codehaus/jackson/node/ValueNode.html#serializeWithType(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider, org.codehaus.jackson.map.TypeSerializer)">serializeWithType</a>, <a href="../../../../org/codehaus/jackson/node/ValueNode.html#toString()">toString</a></code></li>
264</ul>
265<ul class="blockList">
266<li class="blockList"><a name="methods_inherited_from_class_org.codehaus.jackson.node.BaseJsonNode">
267<!--   -->
268</a>
269<h3>Methods inherited from class&nbsp;org.codehaus.jackson.node.<a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html" title="class in org.codehaus.jackson.node">BaseJsonNode</a></h3>
270<code><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findParent(java.lang.String)">findParent</a>, <a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findParents(java.lang.String, java.util.List)">findParents</a>, <a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findPath(java.lang.String)">findPath</a>, <a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findValue(java.lang.String)">findValue</a>, <a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findValues(java.lang.String, java.util.List)">findValues</a>, <a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#findValuesAsText(java.lang.String, java.util.List)">findValuesAsText</a>, <a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#getNumberType()">getNumberType</a>, <a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#traverse()">traverse</a></code></li>
271</ul>
272<ul class="blockList">
273<li class="blockList"><a name="methods_inherited_from_class_org.codehaus.jackson.JsonNode">
274<!--   -->
275</a>
276<h3>Methods inherited from class&nbsp;org.codehaus.jackson.<a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></h3>
277<code><a href="../../../../org/codehaus/jackson/JsonNode.html#asDouble()">asDouble</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#asInt()">asInt</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#asLong()">asLong</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#findParents(java.lang.String)">findParents</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#findValues(java.lang.String)">findValues</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#findValuesAsText(java.lang.String)">findValuesAsText</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#get(int)">get</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#get(java.lang.String)">get</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getBigIntegerValue()">getBigIntegerValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getBinaryValue()">getBinaryValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getDecimalValue()">getDecimalValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getDoubleValue()">getDoubleValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getElements()">getElements</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getFieldNames()">getFieldNames</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getFields()">getFields</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getIntValue()">getIntValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getLongValue()">getLongValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getNumberValue()">getNumberValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getPath(int)">getPath</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getPath(java.lang.String)">getPath</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getTextValue()">getTextValue</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsBoolean()">getValueAsBoolean</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsBoolean(boolean)">getValueAsBoolean</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsDouble()">getValueAsDouble</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsDouble(double)">getValueAsDouble</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsInt()">getValueAsInt</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsInt(int)">getValueAsInt</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsLong()">getValueAsLong</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsLong(long)">getValueAsLong</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#getValueAsText()">getValueAsText</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#has(int)">has</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#has(java.lang.String)">has</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isArray()">isArray</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isBigDecimal()">isBigDecimal</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isBigInteger()">isBigInteger</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isBinary()">isBinary</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isContainerNode()">isContainerNode</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isDouble()">isDouble</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isFloatingPointNumber()">isFloatingPointNumber</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isInt()">isInt</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isIntegralNumber()">isIntegralNumber</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isLong()">isLong</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isMissingNode()">isMissingNode</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isNull()">isNull</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isNumber()">isNumber</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isObject()">isObject</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isPojo()">isPojo</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#isTextual()">isTextual</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#iterator()">iterator</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#size()">size</a>, <a href="../../../../org/codehaus/jackson/JsonNode.html#with(java.lang.String)">with</a></code></li>
278</ul>
279<ul class="blockList">
280<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
281<!--   -->
282</a>
283<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
284<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
285</ul>
286</li>
287</ul>
288</li>
289</ul>
290</div>
291<div class="details">
292<ul class="blockList">
293<li class="blockList">
294<!-- ============ FIELD DETAIL =========== -->
295<ul class="blockList">
296<li class="blockList"><a name="field_detail">
297<!--   -->
298</a>
299<h3>Field Detail</h3>
300<a name="TRUE">
301<!--   -->
302</a>
303<ul class="blockList">
304<li class="blockList">
305<h4>TRUE</h4>
306<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/node/BooleanNode.html" title="class in org.codehaus.jackson.node">BooleanNode</a> TRUE</pre>
307</li>
308</ul>
309<a name="FALSE">
310<!--   -->
311</a>
312<ul class="blockListLast">
313<li class="blockList">
314<h4>FALSE</h4>
315<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/node/BooleanNode.html" title="class in org.codehaus.jackson.node">BooleanNode</a> FALSE</pre>
316</li>
317</ul>
318</li>
319</ul>
320<!-- ============ METHOD DETAIL ========== -->
321<ul class="blockList">
322<li class="blockList"><a name="method_detail">
323<!--   -->
324</a>
325<h3>Method Detail</h3>
326<a name="getTrue()">
327<!--   -->
328</a>
329<ul class="blockList">
330<li class="blockList">
331<h4>getTrue</h4>
332<pre>public static&nbsp;<a href="../../../../org/codehaus/jackson/node/BooleanNode.html" title="class in org.codehaus.jackson.node">BooleanNode</a>&nbsp;getTrue()</pre>
333</li>
334</ul>
335<a name="getFalse()">
336<!--   -->
337</a>
338<ul class="blockList">
339<li class="blockList">
340<h4>getFalse</h4>
341<pre>public static&nbsp;<a href="../../../../org/codehaus/jackson/node/BooleanNode.html" title="class in org.codehaus.jackson.node">BooleanNode</a>&nbsp;getFalse()</pre>
342</li>
343</ul>
344<a name="valueOf(boolean)">
345<!--   -->
346</a>
347<ul class="blockList">
348<li class="blockList">
349<h4>valueOf</h4>
350<pre>public static&nbsp;<a href="../../../../org/codehaus/jackson/node/BooleanNode.html" title="class in org.codehaus.jackson.node">BooleanNode</a>&nbsp;valueOf(boolean&nbsp;b)</pre>
351</li>
352</ul>
353<a name="asToken()">
354<!--   -->
355</a>
356<ul class="blockList">
357<li class="blockList">
358<h4>asToken</h4>
359<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson">JsonToken</a>&nbsp;asToken()</pre>
360<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#asToken()">BaseJsonNode</a></code></strong></div>
361<div class="block">Method that can be used for efficient type detection
362 when using stream abstraction for traversing nodes.
363 Will return the first <a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson"><code>JsonToken</code></a> that equivalent
364 stream event would produce (for most nodes there is just
365 one token but for structured/container types multiple)</div>
366<dl>
367<dt><strong>Specified by:</strong></dt>
368<dd><code><a href="../../../../org/codehaus/jackson/node/ValueNode.html#asToken()">asToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/node/ValueNode.html" title="class in org.codehaus.jackson.node">ValueNode</a></code></dd>
369</dl>
370</li>
371</ul>
372<a name="isBoolean()">
373<!--   -->
374</a>
375<ul class="blockList">
376<li class="blockList">
377<h4>isBoolean</h4>
378<pre>public&nbsp;boolean&nbsp;isBoolean()</pre>
379<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html#isBoolean()">JsonNode</a></code></strong></div>
380<div class="block">Method that can be used to check if this node was created from
381 Json boolean value (literals "true" and "false").</div>
382<dl>
383<dt><strong>Overrides:</strong></dt>
384<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#isBoolean()">isBoolean</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
385</dl>
386</li>
387</ul>
388<a name="getBooleanValue()">
389<!--   -->
390</a>
391<ul class="blockList">
392<li class="blockList">
393<h4>getBooleanValue</h4>
394<pre>public&nbsp;boolean&nbsp;getBooleanValue()</pre>
395<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html#getBooleanValue()">JsonNode</a></code></strong></div>
396<div class="block">Method to use for accessing JSON boolean values (value
397 literals 'true' and 'false').
398 For other types, always returns false.</div>
399<dl>
400<dt><strong>Overrides:</strong></dt>
401<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#getBooleanValue()">getBooleanValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
402<dt><span class="strong">Returns:</span></dt><dd>Textual value this node contains, iff it is a textual
403   json node (comes from Json String value entry)</dd></dl>
404</li>
405</ul>
406<a name="asText()">
407<!--   -->
408</a>
409<ul class="blockList">
410<li class="blockList">
411<h4>asText</h4>
412<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;asText()</pre>
413<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html#asText()">JsonNode</a></code></strong></div>
414<div class="block">Method that will return valid String representation of
415 the container value, if the node is a value node
416 (method <a href="../../../../org/codehaus/jackson/JsonNode.html#isValueNode()"><code>JsonNode.isValueNode()</code></a> returns true), otherwise
417 empty String.</div>
418<dl>
419<dt><strong>Specified by:</strong></dt>
420<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#asText()">asText</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
421</dl>
422</li>
423</ul>
424<a name="asBoolean()">
425<!--   -->
426</a>
427<ul class="blockList">
428<li class="blockList">
429<h4>asBoolean</h4>
430<pre>public&nbsp;boolean&nbsp;asBoolean()</pre>
431<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html#asBoolean()">JsonNode</a></code></strong></div>
432<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.
433 JSON booleans map naturally; integer numbers other than 0 map to true, and
434 0 maps to false
435 and Strings 'true' and 'false' map to corresponding values.
436<p>
437 If representation can not be converted to a boolean value (including structured types
438 like Objects and Arrays),
439 default value of <b>false</b> will be returned; no exceptions are thrown.</div>
440<dl>
441<dt><strong>Overrides:</strong></dt>
442<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#asBoolean()">asBoolean</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
443</dl>
444</li>
445</ul>
446<a name="asBoolean(boolean)">
447<!--   -->
448</a>
449<ul class="blockList">
450<li class="blockList">
451<h4>asBoolean</h4>
452<pre>public&nbsp;boolean&nbsp;asBoolean(boolean&nbsp;defaultValue)</pre>
453<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html#asBoolean(boolean)">JsonNode</a></code></strong></div>
454<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.
455 JSON booleans map naturally; integer numbers other than 0 map to true, and
456 0 maps to false
457 and Strings 'true' and 'false' map to corresponding values.
458<p>
459 If representation can not be converted to a boolean value (including structured types
460 like Objects and Arrays),
461 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
462<dl>
463<dt><strong>Overrides:</strong></dt>
464<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#asBoolean(boolean)">asBoolean</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
465</dl>
466</li>
467</ul>
468<a name="asInt(int)">
469<!--   -->
470</a>
471<ul class="blockList">
472<li class="blockList">
473<h4>asInt</h4>
474<pre>public&nbsp;int&nbsp;asInt(int&nbsp;defaultValue)</pre>
475<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html#asInt(int)">JsonNode</a></code></strong></div>
476<div class="block">Method that will try to convert value of this node to a Java <b>int</b>.
477 Numbers are coerced using default Java rules; booleans convert to 0 (false)
478 and 1 (true), and Strings are parsed using default Java language integer
479 parsing rules.
480<p>
481 If representation can not be converted to an int (including structured types
482 like Objects and Arrays),
483 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
484<dl>
485<dt><strong>Overrides:</strong></dt>
486<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#asInt(int)">asInt</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
487</dl>
488</li>
489</ul>
490<a name="asLong(long)">
491<!--   -->
492</a>
493<ul class="blockList">
494<li class="blockList">
495<h4>asLong</h4>
496<pre>public&nbsp;long&nbsp;asLong(long&nbsp;defaultValue)</pre>
497<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html#asLong(long)">JsonNode</a></code></strong></div>
498<div class="block">Method that will try to convert value of this node to a Java <b>long</b>.
499 Numbers are coerced using default Java rules; booleans convert to 0 (false)
500 and 1 (true), and Strings are parsed using default Java language integer
501 parsing rules.
502<p>
503 If representation can not be converted to an long (including structured types
504 like Objects and Arrays),
505 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
506<dl>
507<dt><strong>Overrides:</strong></dt>
508<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#asLong(long)">asLong</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
509</dl>
510</li>
511</ul>
512<a name="asDouble(double)">
513<!--   -->
514</a>
515<ul class="blockList">
516<li class="blockList">
517<h4>asDouble</h4>
518<pre>public&nbsp;double&nbsp;asDouble(double&nbsp;defaultValue)</pre>
519<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html#asDouble(double)">JsonNode</a></code></strong></div>
520<div class="block">Method that will try to convert value of this node to a Java <b>double</b>.
521 Numbers are coerced using default Java rules; booleans convert to 0.0 (false)
522 and 1.0 (true), and Strings are parsed using default Java language integer
523 parsing rules.
524<p>
525 If representation can not be converted to an int (including structured types
526 like Objects and Arrays),
527 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
528<dl>
529<dt><strong>Overrides:</strong></dt>
530<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#asDouble(double)">asDouble</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
531</dl>
532</li>
533</ul>
534<a name="serialize(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider)">
535<!--   -->
536</a>
537<ul class="blockList">
538<li class="blockList">
539<h4>serialize</h4>
540<pre>public final&nbsp;void&nbsp;serialize(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jg,
541             <a href="../../../../org/codehaus/jackson/map/SerializerProvider.html" title="class in org.codehaus.jackson.map">SerializerProvider</a>&nbsp;provider)
542                     throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
543                            <a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></pre>
544<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#serialize(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider)">BaseJsonNode</a></code></strong></div>
545<div class="block">Method called to serialize node instances using given generator.</div>
546<dl>
547<dt><strong>Specified by:</strong></dt>
548<dd><code><a href="../../../../org/codehaus/jackson/map/JsonSerializable.html#serialize(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider)">serialize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/codehaus/jackson/map/JsonSerializable.html" title="interface in org.codehaus.jackson.map">JsonSerializable</a></code></dd>
549<dt><strong>Specified by:</strong></dt>
550<dd><code><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html#serialize(org.codehaus.jackson.JsonGenerator, org.codehaus.jackson.map.SerializerProvider)">serialize</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/node/BaseJsonNode.html" title="class in org.codehaus.jackson.node">BaseJsonNode</a></code></dd>
551<dt><span class="strong">Throws:</span></dt>
552<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
553<dd><code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></code></dd></dl>
554</li>
555</ul>
556<a name="equals(java.lang.Object)">
557<!--   -->
558</a>
559<ul class="blockListLast">
560<li class="blockList">
561<h4>equals</h4>
562<pre>public&nbsp;boolean&nbsp;equals(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
563<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html#equals(java.lang.Object)">JsonNode</a></code></strong></div>
564<div class="block">Equality for node objects is defined as full (deep) value
565 equality. This means that it is possible to compare complete
566 JSON trees for equality by comparing equality of root nodes.
567<p>
568 Note: marked as abstract to ensure all implementation
569 classes define it properly and not rely on definition
570 from <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div>
571<dl>
572<dt><strong>Specified by:</strong></dt>
573<dd><code><a href="../../../../org/codehaus/jackson/JsonNode.html#equals(java.lang.Object)">equals</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonNode.html" title="class in org.codehaus.jackson">JsonNode</a></code></dd>
574</dl>
575</li>
576</ul>
577</li>
578</ul>
579</li>
580</ul>
581</div>
582</div>
583<!-- ========= END OF CLASS DATA ========= -->
584<!-- ======= START OF BOTTOM NAVBAR ====== -->
585<div class="bottomNav"><a name="navbar_bottom">
586<!--   -->
587</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
588<!--   -->
589</a>
590<ul class="navList" title="Navigation">
591<li><a href="../../../../overview-summary.html">Overview</a></li>
592<li><a href="package-summary.html">Package</a></li>
593<li class="navBarCell1Rev">Class</li>
594<li><a href="class-use/BooleanNode.html">Use</a></li>
595<li><a href="package-tree.html">Tree</a></li>
596<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
597<li><a href="../../../../index-all.html">Index</a></li>
598<li><a href="../../../../help-doc.html">Help</a></li>
599</ul>
600</div>
601<div class="subNav">
602<ul class="navList">
603<li><a href="../../../../org/codehaus/jackson/node/BinaryNode.html" title="class in org.codehaus.jackson.node"><span class="strong">Prev Class</span></a></li>
604<li><a href="../../../../org/codehaus/jackson/node/ContainerNode.html" title="class in org.codehaus.jackson.node"><span class="strong">Next Class</span></a></li>
605</ul>
606<ul class="navList">
607<li><a href="../../../../index.html?org/codehaus/jackson/node/BooleanNode.html" target="_top">Frames</a></li>
608<li><a href="BooleanNode.html" target="_top">No Frames</a></li>
609</ul>
610<ul class="navList" id="allclasses_navbar_bottom">
611<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
612</ul>
613<div>
614<script type="text/javascript"><!--
615  allClassesLink = document.getElementById("allclasses_navbar_bottom");
616  if(window==top) {
617    allClassesLink.style.display = "block";
618  }
619  else {
620    allClassesLink.style.display = "none";
621  }
622  //-->
623</script>
624</div>
625<div>
626<ul class="subNavList">
627<li>Summary:&nbsp;</li>
628<li>Nested&nbsp;|&nbsp;</li>
629<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
630<li>Constr&nbsp;|&nbsp;</li>
631<li><a href="#method_summary">Method</a></li>
632</ul>
633<ul class="subNavList">
634<li>Detail:&nbsp;</li>
635<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
636<li>Constr&nbsp;|&nbsp;</li>
637<li><a href="#method_detail">Method</a></li>
638</ul>
639</div>
640<a name="skip-navbar_bottom">
641<!--   -->
642</a></div>
643<!-- ======== END OF BOTTOM NAVBAR ======= -->
644</body>
645</html>
646