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:34 PDT 2013 --> 6<title>Uses of Class org.codehaus.jackson.JsonEncoding (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="Uses of Class org.codehaus.jackson.JsonEncoding (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><a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">Class</a></li> 30<li class="navBarCell1Rev">Use</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>Prev</li> 40<li>Next</li> 41</ul> 42<ul class="navList"> 43<li><a href="../../../../index.html?org/codehaus/jackson/class-use/JsonEncoding.html" target="_top">Frames</a></li> 44<li><a href="JsonEncoding.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<a name="skip-navbar_top"> 62<!-- --> 63</a></div> 64<!-- ========= END OF TOP NAVBAR ========= --> 65<div class="header"> 66<h2 title="Uses of Class org.codehaus.jackson.JsonEncoding" class="title">Uses of Class<br>org.codehaus.jackson.JsonEncoding</h2> 67</div> 68<div class="classUseContainer"> 69<ul class="blockList"> 70<li class="blockList"> 71<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> 72<caption><span>Packages that use <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a></span><span class="tabEnd"> </span></caption> 73<tr> 74<th class="colFirst" scope="col">Package</th> 75<th class="colLast" scope="col">Description</th> 76</tr> 77<tbody> 78<tr class="altColor"> 79<td class="colFirst"><a href="#org.codehaus.jackson">org.codehaus.jackson</a></td> 80<td class="colLast"> 81<div class="block">Main public API classes of the core streaming JSON 82 processor: most importantly <a href="../../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson"><code>JsonFactory</code></a> 83 used for constructing 84 JSON parser (<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson"><code>JsonParser</code></a>) 85 and generator 86 (<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson"><code>JsonParser</code></a>) 87 instances.</div> 88</td> 89</tr> 90<tr class="rowColor"> 91<td class="colFirst"><a href="#org.codehaus.jackson.impl">org.codehaus.jackson.impl</a></td> 92<td class="colLast"> 93<div class="block">Parser and generator implementation classes that Jackson 94 defines and uses.</div> 95</td> 96</tr> 97<tr class="altColor"> 98<td class="colFirst"><a href="#org.codehaus.jackson.io">org.codehaus.jackson.io</a></td> 99<td class="colLast"> 100<div class="block">This package contains I/O helper classes Jackson itself uses, but that 101are not exposed for external reuse.</div> 102</td> 103</tr> 104<tr class="rowColor"> 105<td class="colFirst"><a href="#org.codehaus.jackson.jaxrs">org.codehaus.jackson.jaxrs</a></td> 106<td class="colLast"> 107<div class="block">Jackson-based JAX-RS provider that can automatically 108 serialize and deserialize resources for 109 JSON content type (MediaType).</div> 110</td> 111</tr> 112<tr class="altColor"> 113<td class="colFirst"><a href="#org.codehaus.jackson.smile">org.codehaus.jackson.smile</a></td> 114<td class="colLast"> 115<div class="block">Package that contains experimental implementation of 116 "Binary-Encoded JSON-Like" data format handlers (parser, 117 generator, factory produce both, supporting constants).</div> 118</td> 119</tr> 120</tbody> 121</table> 122</li> 123<li class="blockList"> 124<ul class="blockList"> 125<li class="blockList"><a name="org.codehaus.jackson"> 126<!-- --> 127</a> 128<h3>Uses of <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a> in <a href="../../../../org/codehaus/jackson/package-summary.html">org.codehaus.jackson</a></h3> 129<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> 130<caption><span>Methods in <a href="../../../../org/codehaus/jackson/package-summary.html">org.codehaus.jackson</a> that return <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a></span><span class="tabEnd"> </span></caption> 131<tr> 132<th class="colFirst" scope="col">Modifier and Type</th> 133<th class="colLast" scope="col">Method and Description</th> 134</tr> 135<tbody> 136<tr class="altColor"> 137<td class="colFirst"><code>static <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a></code></td> 138<td class="colLast"><span class="strong">JsonEncoding.</span><code><strong><a href="../../../../org/codehaus/jackson/JsonEncoding.html#valueOf(java.lang.String)">valueOf</a></strong>(<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> name)</code> 139<div class="block">Returns the enum constant of this type with the specified name.</div> 140</td> 141</tr> 142<tr class="rowColor"> 143<td class="colFirst"><code>static <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a>[]</code></td> 144<td class="colLast"><span class="strong">JsonEncoding.</span><code><strong><a href="../../../../org/codehaus/jackson/JsonEncoding.html#values()">values</a></strong>()</code> 145<div class="block">Returns an array containing the constants of this enum type, in 146the order they are declared.</div> 147</td> 148</tr> 149</tbody> 150</table> 151<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> 152<caption><span>Methods in <a href="../../../../org/codehaus/jackson/package-summary.html">org.codehaus.jackson</a> with parameters of type <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a></span><span class="tabEnd"> </span></caption> 153<tr> 154<th class="colFirst" scope="col">Modifier and Type</th> 155<th class="colLast" scope="col">Method and Description</th> 156</tr> 157<tbody> 158<tr class="altColor"> 159<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td> 160<td class="colLast"><span class="strong">JsonFactory.</span><code><strong><a href="../../../../org/codehaus/jackson/JsonFactory.html#_createWriter(java.io.OutputStream, org.codehaus.jackson.JsonEncoding, org.codehaus.jackson.io.IOContext)">_createWriter</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, 161 <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a> enc, 162 <a href="../../../../org/codehaus/jackson/io/IOContext.html" title="class in org.codehaus.jackson.io">IOContext</a> ctxt)</code> </td> 163</tr> 164<tr class="rowColor"> 165<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a></code></td> 166<td class="colLast"><span class="strong">JsonFactory.</span><code><strong><a href="../../../../org/codehaus/jackson/JsonFactory.html#createJsonGenerator(java.io.File, org.codehaus.jackson.JsonEncoding)">createJsonGenerator</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> f, 167 <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a> enc)</code> 168<div class="block">Method for constructing JSON generator for writing JSON content 169 to specified file, overwriting contents it might have (or creating 170 it if such file does not yet exist).</div> 171</td> 172</tr> 173<tr class="altColor"> 174<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a></code></td> 175<td class="colLast"><span class="strong">JsonFactory.</span><code><strong><a href="../../../../org/codehaus/jackson/JsonFactory.html#createJsonGenerator(java.io.OutputStream, org.codehaus.jackson.JsonEncoding)">createJsonGenerator</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, 176 <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a> enc)</code> 177<div class="block">Method for constructing JSON generator for writing JSON content 178 using specified output stream.</div> 179</td> 180</tr> 181</tbody> 182</table> 183</li> 184<li class="blockList"><a name="org.codehaus.jackson.impl"> 185<!-- --> 186</a> 187<h3>Uses of <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a> in <a href="../../../../org/codehaus/jackson/impl/package-summary.html">org.codehaus.jackson.impl</a></h3> 188<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> 189<caption><span>Methods in <a href="../../../../org/codehaus/jackson/impl/package-summary.html">org.codehaus.jackson.impl</a> that return <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a></span><span class="tabEnd"> </span></caption> 190<tr> 191<th class="colFirst" scope="col">Modifier and Type</th> 192<th class="colLast" scope="col">Method and Description</th> 193</tr> 194<tbody> 195<tr class="altColor"> 196<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a></code></td> 197<td class="colLast"><span class="strong">ByteSourceBootstrapper.</span><code><strong><a href="../../../../org/codehaus/jackson/impl/ByteSourceBootstrapper.html#detectEncoding()">detectEncoding</a></strong>()</code> 198<div class="block">Method that should be called after constructing an instace.</div> 199</td> 200</tr> 201</tbody> 202</table> 203</li> 204<li class="blockList"><a name="org.codehaus.jackson.io"> 205<!-- --> 206</a> 207<h3>Uses of <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a> in <a href="../../../../org/codehaus/jackson/io/package-summary.html">org.codehaus.jackson.io</a></h3> 208<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation"> 209<caption><span>Fields in <a href="../../../../org/codehaus/jackson/io/package-summary.html">org.codehaus.jackson.io</a> declared as <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a></span><span class="tabEnd"> </span></caption> 210<tr> 211<th class="colFirst" scope="col">Modifier and Type</th> 212<th class="colLast" scope="col">Field and Description</th> 213</tr> 214<tbody> 215<tr class="altColor"> 216<td class="colFirst"><code>protected <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a></code></td> 217<td class="colLast"><span class="strong">IOContext.</span><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#_encoding">_encoding</a></strong></code> 218<div class="block">Encoding used by the underlying stream, if known.</div> 219</td> 220</tr> 221</tbody> 222</table> 223<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> 224<caption><span>Methods in <a href="../../../../org/codehaus/jackson/io/package-summary.html">org.codehaus.jackson.io</a> that return <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a></span><span class="tabEnd"> </span></caption> 225<tr> 226<th class="colFirst" scope="col">Modifier and Type</th> 227<th class="colLast" scope="col">Method and Description</th> 228</tr> 229<tbody> 230<tr class="altColor"> 231<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a></code></td> 232<td class="colLast"><span class="strong">IOContext.</span><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#getEncoding()">getEncoding</a></strong>()</code> </td> 233</tr> 234</tbody> 235</table> 236<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> 237<caption><span>Methods in <a href="../../../../org/codehaus/jackson/io/package-summary.html">org.codehaus.jackson.io</a> with parameters of type <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a></span><span class="tabEnd"> </span></caption> 238<tr> 239<th class="colFirst" scope="col">Modifier and Type</th> 240<th class="colLast" scope="col">Method and Description</th> 241</tr> 242<tbody> 243<tr class="altColor"> 244<td class="colFirst"><code>void</code></td> 245<td class="colLast"><span class="strong">IOContext.</span><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#setEncoding(org.codehaus.jackson.JsonEncoding)">setEncoding</a></strong>(<a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a> enc)</code> </td> 246</tr> 247</tbody> 248</table> 249</li> 250<li class="blockList"><a name="org.codehaus.jackson.jaxrs"> 251<!-- --> 252</a> 253<h3>Uses of <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a> in <a href="../../../../org/codehaus/jackson/jaxrs/package-summary.html">org.codehaus.jackson.jaxrs</a></h3> 254<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> 255<caption><span>Methods in <a href="../../../../org/codehaus/jackson/jaxrs/package-summary.html">org.codehaus.jackson.jaxrs</a> that return <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a></span><span class="tabEnd"> </span></caption> 256<tr> 257<th class="colFirst" scope="col">Modifier and Type</th> 258<th class="colLast" scope="col">Method and Description</th> 259</tr> 260<tbody> 261<tr class="altColor"> 262<td class="colFirst"><code>protected <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a></code></td> 263<td class="colLast"><span class="strong">JacksonJsonProvider.</span><code><strong><a href="../../../../org/codehaus/jackson/jaxrs/JacksonJsonProvider.html#findEncoding(javax.ws.rs.core.MediaType, javax.ws.rs.core.MultivaluedMap)">findEncoding</a></strong>(<a href="http://jackson.codehaus.org/javadoc/jax-rs/1.0/javax/ws/rs/core/MediaType.html?is-external=true" title="class or interface in javax.ws.rs.core">MediaType</a> mediaType, 264 <a href="http://jackson.codehaus.org/javadoc/jax-rs/1.0/javax/ws/rs/core/MultivaluedMap.html?is-external=true" title="class or interface in javax.ws.rs.core">MultivaluedMap</a><<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>,<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>> httpHeaders)</code> 265<div class="block">Helper method to use for determining desired output encoding.</div> 266</td> 267</tr> 268</tbody> 269</table> 270</li> 271<li class="blockList"><a name="org.codehaus.jackson.smile"> 272<!-- --> 273</a> 274<h3>Uses of <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a> in <a href="../../../../org/codehaus/jackson/smile/package-summary.html">org.codehaus.jackson.smile</a></h3> 275<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> 276<caption><span>Methods in <a href="../../../../org/codehaus/jackson/smile/package-summary.html">org.codehaus.jackson.smile</a> with parameters of type <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a></span><span class="tabEnd"> </span></caption> 277<tr> 278<th class="colFirst" scope="col">Modifier and Type</th> 279<th class="colLast" scope="col">Method and Description</th> 280</tr> 281<tbody> 282<tr class="altColor"> 283<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a></code></td> 284<td class="colLast"><span class="strong">SmileFactory.</span><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileFactory.html#_createWriter(java.io.OutputStream, org.codehaus.jackson.JsonEncoding, org.codehaus.jackson.io.IOContext)">_createWriter</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, 285 <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a> enc, 286 <a href="../../../../org/codehaus/jackson/io/IOContext.html" title="class in org.codehaus.jackson.io">IOContext</a> ctxt)</code> </td> 287</tr> 288<tr class="rowColor"> 289<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/smile/SmileGenerator.html" title="class in org.codehaus.jackson.smile">SmileGenerator</a></code></td> 290<td class="colLast"><span class="strong">SmileFactory.</span><code><strong><a href="../../../../org/codehaus/jackson/smile/SmileFactory.html#createJsonGenerator(java.io.OutputStream, org.codehaus.jackson.JsonEncoding)">createJsonGenerator</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, 291 <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a> enc)</code> 292<div class="block"> 293 note: co-variant return type</div> 294</td> 295</tr> 296</tbody> 297</table> 298</li> 299</ul> 300</li> 301</ul> 302</div> 303<!-- ======= START OF BOTTOM NAVBAR ====== --> 304<div class="bottomNav"><a name="navbar_bottom"> 305<!-- --> 306</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 307<!-- --> 308</a> 309<ul class="navList" title="Navigation"> 310<li><a href="../../../../overview-summary.html">Overview</a></li> 311<li><a href="../package-summary.html">Package</a></li> 312<li><a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">Class</a></li> 313<li class="navBarCell1Rev">Use</li> 314<li><a href="../package-tree.html">Tree</a></li> 315<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 316<li><a href="../../../../index-all.html">Index</a></li> 317<li><a href="../../../../help-doc.html">Help</a></li> 318</ul> 319</div> 320<div class="subNav"> 321<ul class="navList"> 322<li>Prev</li> 323<li>Next</li> 324</ul> 325<ul class="navList"> 326<li><a href="../../../../index.html?org/codehaus/jackson/class-use/JsonEncoding.html" target="_top">Frames</a></li> 327<li><a href="JsonEncoding.html" target="_top">No Frames</a></li> 328</ul> 329<ul class="navList" id="allclasses_navbar_bottom"> 330<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 331</ul> 332<div> 333<script type="text/javascript"><!-- 334 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 335 if(window==top) { 336 allClassesLink.style.display = "block"; 337 } 338 else { 339 allClassesLink.style.display = "none"; 340 } 341 //--> 342</script> 343</div> 344<a name="skip-navbar_bottom"> 345<!-- --> 346</a></div> 347<!-- ======== END OF BOTTOM NAVBAR ======= --> 348</body> 349</html> 350