• 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:20 PDT 2013 -->
6<title>JsonFactory (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="JsonFactory (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/JsonFactory.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/JsonEncoding.html" title="enum in org.codehaus.jackson"><span class="strong">Prev Class</span></a></li>
40<li><a href="../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson"><span class="strong">Next Class</span></a></li>
41</ul>
42<ul class="navList">
43<li><a href="../../../index.html?org/codehaus/jackson/JsonFactory.html" target="_top">Frames</a></li>
44<li><a href="JsonFactory.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><a href="#constructor_summary">Constr</a>&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><a href="#constructor_detail">Constr</a>&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</div>
83<h2 title="Class JsonFactory" class="title">Class JsonFactory</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>org.codehaus.jackson.JsonFactory</li>
91</ul>
92</li>
93</ul>
94<div class="description">
95<ul class="blockList">
96<li class="blockList">
97<dl>
98<dt>All Implemented Interfaces:</dt>
99<dd><a href="../../../org/codehaus/jackson/Versioned.html" title="interface in org.codehaus.jackson">Versioned</a></dd>
100</dl>
101<dl>
102<dt>Direct Known Subclasses:</dt>
103<dd><a href="../../../org/codehaus/jackson/map/MappingJsonFactory.html" title="class in org.codehaus.jackson.map">MappingJsonFactory</a>, <a href="../../../org/codehaus/jackson/smile/SmileFactory.html" title="class in org.codehaus.jackson.smile">SmileFactory</a></dd>
104</dl>
105<hr>
106<br>
107<pre>public class <span class="strong">JsonFactory</span>
108extends <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>
109implements <a href="../../../org/codehaus/jackson/Versioned.html" title="interface in org.codehaus.jackson">Versioned</a></pre>
110<div class="block">The main factory class of Jackson package, used to configure and
111 construct reader (aka parser, <a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson"><code>JsonParser</code></a>)
112 and writer (aka generator, <a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson"><code>JsonGenerator</code></a>)
113 instances.
114<p>
115 Factory instances are thread-safe and reusable after configuration
116 (if any). Typically applications and services use only a single
117 globally shared factory instance, unless they need differently
118 configured factories. Factory reuse is important if efficiency matters;
119 most recycling of expensive construct is done on per-factory basis.
120<p>
121 Creation of a factory instance is a light-weight operation,
122 and since there is no need for pluggable alternative implementations
123 (as there is no "standard" JSON processor API to implement),
124 the default constructor is used for constructing factory
125 instances.</div>
126<dl><dt><span class="strong">Author:</span></dt>
127  <dd>Tatu Saloranta</dd></dl>
128</li>
129</ul>
130</div>
131<div class="summary">
132<ul class="blockList">
133<li class="blockList">
134<!-- =========== FIELD SUMMARY =========== -->
135<ul class="blockList">
136<li class="blockList"><a name="field_summary">
137<!--   -->
138</a>
139<h3>Field Summary</h3>
140<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
141<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
142<tr>
143<th class="colFirst" scope="col">Modifier and Type</th>
144<th class="colLast" scope="col">Field and Description</th>
145</tr>
146<tr class="altColor">
147<td class="colFirst"><code>protected <a href="../../../org/codehaus/jackson/io/CharacterEscapes.html" title="class in org.codehaus.jackson.io">CharacterEscapes</a></code></td>
148<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_characterEscapes">_characterEscapes</a></strong></code>
149<div class="block">Definition of custom character escapes to use for generators created
150 by this factory, if any.</div>
151</td>
152</tr>
153<tr class="rowColor">
154<td class="colFirst"><code>protected int</code></td>
155<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_generatorFeatures">_generatorFeatures</a></strong></code>
156<div class="block">Currently enabled generator features.</div>
157</td>
158</tr>
159<tr class="altColor">
160<td class="colFirst"><code>protected <a href="../../../org/codehaus/jackson/io/InputDecorator.html" title="class in org.codehaus.jackson.io">InputDecorator</a></code></td>
161<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_inputDecorator">_inputDecorator</a></strong></code>
162<div class="block">Optional helper object that may decorate input sources, to do
163 additional processing on input during parsing.</div>
164</td>
165</tr>
166<tr class="rowColor">
167<td class="colFirst"><code>protected <a href="../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a></code></td>
168<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_objectCodec">_objectCodec</a></strong></code>
169<div class="block">Object that implements conversion functionality between
170 Java objects and JSON content.</div>
171</td>
172</tr>
173<tr class="altColor">
174<td class="colFirst"><code>protected <a href="../../../org/codehaus/jackson/io/OutputDecorator.html" title="class in org.codehaus.jackson.io">OutputDecorator</a></code></td>
175<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_outputDecorator">_outputDecorator</a></strong></code>
176<div class="block">Optional helper object that may decorate output object, to do
177 additional processing on output during content generation.</div>
178</td>
179</tr>
180<tr class="rowColor">
181<td class="colFirst"><code>protected int</code></td>
182<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_parserFeatures">_parserFeatures</a></strong></code>
183<div class="block">Currently enabled parser features.</div>
184</td>
185</tr>
186<tr class="altColor">
187<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ThreadLocal.html?is-external=true" title="class or interface in java.lang">ThreadLocal</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ref/SoftReference.html?is-external=true" title="class or interface in java.lang.ref">SoftReference</a>&lt;<a href="../../../org/codehaus/jackson/util/BufferRecycler.html" title="class in org.codehaus.jackson.util">BufferRecycler</a>&gt;&gt;</code></td>
188<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_recyclerRef">_recyclerRef</a></strong></code>
189<div class="block">This <code>ThreadLocal</code> contains a <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ref/SoftReference.html?is-external=true" title="class or interface in java.lang.ref"><code>SoftReference</code></a>
190 to a <a href="../../../org/codehaus/jackson/util/BufferRecycler.html" title="class in org.codehaus.jackson.util"><code>BufferRecycler</code></a> used to provide a low-cost
191 buffer recycling between reader and writer instances.</div>
192</td>
193</tr>
194<tr class="rowColor">
195<td class="colFirst"><code>protected <a href="../../../org/codehaus/jackson/sym/BytesToNameCanonicalizer.html" title="class in org.codehaus.jackson.sym">BytesToNameCanonicalizer</a></code></td>
196<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_rootByteSymbols">_rootByteSymbols</a></strong></code>
197<div class="block">Alternative to the basic symbol table, some stream-based
198 parsers use different name canonicalization method.</div>
199</td>
200</tr>
201<tr class="altColor">
202<td class="colFirst"><code>protected <a href="../../../org/codehaus/jackson/sym/CharsToNameCanonicalizer.html" title="class in org.codehaus.jackson.sym">CharsToNameCanonicalizer</a></code></td>
203<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_rootCharSymbols">_rootCharSymbols</a></strong></code>
204<div class="block">Each factory comes equipped with a shared root symbol table.</div>
205</td>
206</tr>
207<tr class="rowColor">
208<td class="colFirst"><code>static <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>
209<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#FORMAT_NAME_JSON">FORMAT_NAME_JSON</a></strong></code>
210<div class="block">Name used to identify JSON format
211 (and returned by <a href="../../../org/codehaus/jackson/JsonFactory.html#getFormatName()"><code>getFormatName()</code></a></div>
212</td>
213</tr>
214</table>
215</li>
216</ul>
217<!-- ======== CONSTRUCTOR SUMMARY ======== -->
218<ul class="blockList">
219<li class="blockList"><a name="constructor_summary">
220<!--   -->
221</a>
222<h3>Constructor Summary</h3>
223<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
224<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
225<tr>
226<th class="colOne" scope="col">Constructor and Description</th>
227</tr>
228<tr class="altColor">
229<td class="colOne"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#JsonFactory()">JsonFactory</a></strong>()</code>
230<div class="block">Default constructor used to create factory instances.</div>
231</td>
232</tr>
233<tr class="rowColor">
234<td class="colOne"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#JsonFactory(org.codehaus.jackson.ObjectCodec)">JsonFactory</a></strong>(<a href="../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a>&nbsp;oc)</code>&nbsp;</td>
235</tr>
236</table>
237</li>
238</ul>
239<!-- ========== METHOD SUMMARY =========== -->
240<ul class="blockList">
241<li class="blockList"><a name="method_summary">
242<!--   -->
243</a>
244<h3>Method Summary</h3>
245<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
246<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
247<tr>
248<th class="colFirst" scope="col">Modifier and Type</th>
249<th class="colLast" scope="col">Method and Description</th>
250</tr>
251<tr class="altColor">
252<td class="colFirst"><code>protected <a href="../../../org/codehaus/jackson/io/IOContext.html" title="class in org.codehaus.jackson.io">IOContext</a></code></td>
253<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_createContext(java.lang.Object, boolean)">_createContext</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;srcRef,
254              boolean&nbsp;resourceManaged)</code>
255<div class="block">Overridable factory method that actually instantiates desired
256 context object.</div>
257</td>
258</tr>
259<tr class="rowColor">
260<td class="colFirst"><code>protected <a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a></code></td>
261<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_createJsonGenerator(java.io.Writer, org.codehaus.jackson.io.IOContext)">_createJsonGenerator</a></strong>(<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>&nbsp;out,
262                    <a href="../../../org/codehaus/jackson/io/IOContext.html" title="class in org.codehaus.jackson.io">IOContext</a>&nbsp;ctxt)</code>
263<div class="block">Overridable factory method that actually instantiates generator for
264 given <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io"><code>Writer</code></a> and context object.</div>
265</td>
266</tr>
267<tr class="altColor">
268<td class="colFirst"><code>protected <a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></td>
269<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_createJsonParser(byte[], int, int, org.codehaus.jackson.io.IOContext)">_createJsonParser</a></strong>(byte[]&nbsp;data,
270                 int&nbsp;offset,
271                 int&nbsp;len,
272                 <a href="../../../org/codehaus/jackson/io/IOContext.html" title="class in org.codehaus.jackson.io">IOContext</a>&nbsp;ctxt)</code>
273<div class="block">Overridable factory method that actually instantiates parser
274 using given <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a> object for reading content
275 passed as raw byte array.</div>
276</td>
277</tr>
278<tr class="rowColor">
279<td class="colFirst"><code>protected <a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></td>
280<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_createJsonParser(java.io.InputStream, org.codehaus.jackson.io.IOContext)">_createJsonParser</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;in,
281                 <a href="../../../org/codehaus/jackson/io/IOContext.html" title="class in org.codehaus.jackson.io">IOContext</a>&nbsp;ctxt)</code>
282<div class="block">Overridable factory method that actually instantiates desired parser
283 given <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> and context object.</div>
284</td>
285</tr>
286<tr class="altColor">
287<td class="colFirst"><code>protected <a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></td>
288<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_createJsonParser(java.io.Reader, org.codehaus.jackson.io.IOContext)">_createJsonParser</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;r,
289                 <a href="../../../org/codehaus/jackson/io/IOContext.html" title="class in org.codehaus.jackson.io">IOContext</a>&nbsp;ctxt)</code>
290<div class="block">Overridable factory method that actually instantiates parser
291 using given <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a> object for reading content.</div>
292</td>
293</tr>
294<tr class="rowColor">
295<td class="colFirst"><code>protected <a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a></code></td>
296<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_createUTF8JsonGenerator(java.io.OutputStream, org.codehaus.jackson.io.IOContext)">_createUTF8JsonGenerator</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>&nbsp;out,
297                        <a href="../../../org/codehaus/jackson/io/IOContext.html" title="class in org.codehaus.jackson.io">IOContext</a>&nbsp;ctxt)</code>
298<div class="block">Overridable factory method that actually instantiates generator for
299 given <a href="http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a> and context object, using UTF-8 encoding.</div>
300</td>
301</tr>
302<tr class="altColor">
303<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>
304<td class="colLast"><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>&nbsp;out,
305             <a href="../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a>&nbsp;enc,
306             <a href="../../../org/codehaus/jackson/io/IOContext.html" title="class in org.codehaus.jackson.io">IOContext</a>&nbsp;ctxt)</code>&nbsp;</td>
307</tr>
308<tr class="rowColor">
309<td class="colFirst"><code><a href="../../../org/codehaus/jackson/util/BufferRecycler.html" title="class in org.codehaus.jackson.util">BufferRecycler</a></code></td>
310<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_getBufferRecycler()">_getBufferRecycler</a></strong>()</code>
311<div class="block">Method used by factory to create buffer recycler instances
312 for parsers and generators.</div>
313</td>
314</tr>
315<tr class="altColor">
316<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></td>
317<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#_optimizedStreamFromURL(java.net.URL)">_optimizedStreamFromURL</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url)</code>
318<div class="block">Helper methods used for constructing an optimal stream for
319 parsers to use, when input is to be read from an URL.</div>
320</td>
321</tr>
322<tr class="rowColor">
323<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a></code></td>
324<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#configure(org.codehaus.jackson.JsonGenerator.Feature, boolean)">configure</a></strong>(<a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson">JsonGenerator.Feature</a>&nbsp;f,
325         boolean&nbsp;state)</code>
326<div class="block">Method for enabling or disabling specified generator feature
327 (check <a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson"><code>JsonGenerator.Feature</code></a> for list of features)</div>
328</td>
329</tr>
330<tr class="altColor">
331<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a></code></td>
332<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#configure(org.codehaus.jackson.JsonParser.Feature, boolean)">configure</a></strong>(<a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f,
333         boolean&nbsp;state)</code>
334<div class="block">Method for enabling or disabling specified parser feature
335 (check <a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson"><code>JsonParser.Feature</code></a> for list of features)</div>
336</td>
337</tr>
338<tr class="rowColor">
339<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a></code></td>
340<td class="colLast"><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>&nbsp;f,
341                   <a href="../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a>&nbsp;enc)</code>
342<div class="block">Method for constructing JSON generator for writing JSON content
343 to specified file, overwriting contents it might have (or creating
344 it if such file does not yet exist).</div>
345</td>
346</tr>
347<tr class="altColor">
348<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a></code></td>
349<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#createJsonGenerator(java.io.OutputStream)">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>&nbsp;out)</code>
350<div class="block">Convenience method for constructing generator that uses default
351 encoding of the format (UTF-8 for JSON and most other data formats).</div>
352</td>
353</tr>
354<tr class="rowColor">
355<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a></code></td>
356<td class="colLast"><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>&nbsp;out,
357                   <a href="../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a>&nbsp;enc)</code>
358<div class="block">Method for constructing JSON generator for writing JSON content
359 using specified output stream.</div>
360</td>
361</tr>
362<tr class="altColor">
363<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a></code></td>
364<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#createJsonGenerator(java.io.Writer)">createJsonGenerator</a></strong>(<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>&nbsp;out)</code>
365<div class="block">Method for constructing JSON generator for writing JSON content
366 using specified Writer.</div>
367</td>
368</tr>
369<tr class="rowColor">
370<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></td>
371<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#createJsonParser(byte[])">createJsonParser</a></strong>(byte[]&nbsp;data)</code>
372<div class="block">Method for constructing parser for parsing
373 the contents of given byte array.</div>
374</td>
375</tr>
376<tr class="altColor">
377<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></td>
378<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#createJsonParser(byte[], int, int)">createJsonParser</a></strong>(byte[]&nbsp;data,
379                int&nbsp;offset,
380                int&nbsp;len)</code>
381<div class="block">Method for constructing parser for parsing
382 the contents of given byte array.</div>
383</td>
384</tr>
385<tr class="rowColor">
386<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></td>
387<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#createJsonParser(java.io.File)">createJsonParser</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>&nbsp;f)</code>
388<div class="block">Method for constructing JSON parser instance to parse
389 contents of specified file.</div>
390</td>
391</tr>
392<tr class="altColor">
393<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></td>
394<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#createJsonParser(java.io.InputStream)">createJsonParser</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;in)</code>
395<div class="block">Method for constructing JSON parser instance to parse
396 the contents accessed via specified input stream.</div>
397</td>
398</tr>
399<tr class="rowColor">
400<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></td>
401<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#createJsonParser(java.io.Reader)">createJsonParser</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;r)</code>
402<div class="block">Method for constructing parser for parsing
403 the contents accessed via specified Reader.</div>
404</td>
405</tr>
406<tr class="altColor">
407<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></td>
408<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#createJsonParser(java.lang.String)">createJsonParser</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>&nbsp;content)</code>
409<div class="block">Method for constructing parser for parsing
410 contens of given String.</div>
411</td>
412</tr>
413<tr class="rowColor">
414<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></td>
415<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#createJsonParser(java.net.URL)">createJsonParser</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url)</code>
416<div class="block">Method for constructing JSON parser instance to parse
417 contents of resource reference by given URL.</div>
418</td>
419</tr>
420<tr class="altColor">
421<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a></code></td>
422<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#disable(org.codehaus.jackson.JsonGenerator.Feature)">disable</a></strong>(<a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson">JsonGenerator.Feature</a>&nbsp;f)</code>
423<div class="block">Method for disabling specified generator feature
424 (check <a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson"><code>JsonGenerator.Feature</code></a> for list of features)</div>
425</td>
426</tr>
427<tr class="rowColor">
428<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a></code></td>
429<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#disable(org.codehaus.jackson.JsonParser.Feature)">disable</a></strong>(<a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</code>
430<div class="block">Method for disabling specified parser features
431 (check <a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson"><code>JsonParser.Feature</code></a> for list of features)</div>
432</td>
433</tr>
434<tr class="altColor">
435<td class="colFirst"><code>void</code></td>
436<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#disableGeneratorFeature(org.codehaus.jackson.JsonGenerator.Feature)">disableGeneratorFeature</a></strong>(<a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson">JsonGenerator.Feature</a>&nbsp;f)</code>
437<div class="block"><strong>Deprecated.</strong>&nbsp;
438<div class="block"><i>Use <a href="../../../org/codehaus/jackson/JsonFactory.html#disable(org.codehaus.jackson.JsonGenerator.Feature)"><code>disable(JsonGenerator.Feature)</code></a> instead</i></div>
439</div>
440</td>
441</tr>
442<tr class="rowColor">
443<td class="colFirst"><code>void</code></td>
444<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#disableParserFeature(org.codehaus.jackson.JsonParser.Feature)">disableParserFeature</a></strong>(<a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</code>
445<div class="block"><strong>Deprecated.</strong>&nbsp;
446<div class="block"><i>Use <a href="../../../org/codehaus/jackson/JsonFactory.html#disable(org.codehaus.jackson.JsonParser.Feature)"><code>disable(JsonParser.Feature)</code></a> instead</i></div>
447</div>
448</td>
449</tr>
450<tr class="altColor">
451<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a></code></td>
452<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#enable(org.codehaus.jackson.JsonGenerator.Feature)">enable</a></strong>(<a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson">JsonGenerator.Feature</a>&nbsp;f)</code>
453<div class="block">Method for enabling specified generator features
454 (check <a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson"><code>JsonGenerator.Feature</code></a> for list of features)</div>
455</td>
456</tr>
457<tr class="rowColor">
458<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a></code></td>
459<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#enable(org.codehaus.jackson.JsonParser.Feature)">enable</a></strong>(<a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</code>
460<div class="block">Method for enabling specified parser feature
461 (check <a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson"><code>JsonParser.Feature</code></a> for list of features)</div>
462</td>
463</tr>
464<tr class="altColor">
465<td class="colFirst"><code>void</code></td>
466<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#enableGeneratorFeature(org.codehaus.jackson.JsonGenerator.Feature)">enableGeneratorFeature</a></strong>(<a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson">JsonGenerator.Feature</a>&nbsp;f)</code>
467<div class="block"><strong>Deprecated.</strong>&nbsp;
468<div class="block"><i>Use <a href="../../../org/codehaus/jackson/JsonFactory.html#enable(org.codehaus.jackson.JsonGenerator.Feature)"><code>enable(JsonGenerator.Feature)</code></a> instead</i></div>
469</div>
470</td>
471</tr>
472<tr class="rowColor">
473<td class="colFirst"><code>void</code></td>
474<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#enableParserFeature(org.codehaus.jackson.JsonParser.Feature)">enableParserFeature</a></strong>(<a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</code>
475<div class="block"><strong>Deprecated.</strong>&nbsp;
476<div class="block"><i>Use <a href="../../../org/codehaus/jackson/JsonFactory.html#enable(org.codehaus.jackson.JsonParser.Feature)"><code>enable(JsonParser.Feature)</code></a> instead</i></div>
477</div>
478</td>
479</tr>
480<tr class="altColor">
481<td class="colFirst"><code><a href="../../../org/codehaus/jackson/io/CharacterEscapes.html" title="class in org.codehaus.jackson.io">CharacterEscapes</a></code></td>
482<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#getCharacterEscapes()">getCharacterEscapes</a></strong>()</code>
483<div class="block">Method for accessing custom escapes factory uses for <a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson"><code>JsonGenerator</code></a>s
484 it creates.</div>
485</td>
486</tr>
487<tr class="rowColor">
488<td class="colFirst"><code><a href="../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a></code></td>
489<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#getCodec()">getCodec</a></strong>()</code>&nbsp;</td>
490</tr>
491<tr class="altColor">
492<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>
493<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#getFormatName()">getFormatName</a></strong>()</code>
494<div class="block">Method that returns short textual id identifying format
495 this factory supports.</div>
496</td>
497</tr>
498<tr class="rowColor">
499<td class="colFirst"><code><a href="../../../org/codehaus/jackson/io/InputDecorator.html" title="class in org.codehaus.jackson.io">InputDecorator</a></code></td>
500<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#getInputDecorator()">getInputDecorator</a></strong>()</code>
501<div class="block">Method for getting currently configured input decorator (if any;
502 there is no default decorator).</div>
503</td>
504</tr>
505<tr class="altColor">
506<td class="colFirst"><code><a href="../../../org/codehaus/jackson/io/OutputDecorator.html" title="class in org.codehaus.jackson.io">OutputDecorator</a></code></td>
507<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#getOutputDecorator()">getOutputDecorator</a></strong>()</code>
508<div class="block">Method for getting currently configured output decorator (if any;
509 there is no default decorator).</div>
510</td>
511</tr>
512<tr class="rowColor">
513<td class="colFirst"><code><a href="../../../org/codehaus/jackson/format/MatchStrength.html" title="enum in org.codehaus.jackson.format">MatchStrength</a></code></td>
514<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#hasFormat(org.codehaus.jackson.format.InputAccessor)">hasFormat</a></strong>(<a href="../../../org/codehaus/jackson/format/InputAccessor.html" title="interface in org.codehaus.jackson.format">InputAccessor</a>&nbsp;acc)</code>&nbsp;</td>
515</tr>
516<tr class="altColor">
517<td class="colFirst"><code>protected <a href="../../../org/codehaus/jackson/format/MatchStrength.html" title="enum in org.codehaus.jackson.format">MatchStrength</a></code></td>
518<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#hasJSONFormat(org.codehaus.jackson.format.InputAccessor)">hasJSONFormat</a></strong>(<a href="../../../org/codehaus/jackson/format/InputAccessor.html" title="interface in org.codehaus.jackson.format">InputAccessor</a>&nbsp;acc)</code>&nbsp;</td>
519</tr>
520<tr class="rowColor">
521<td class="colFirst"><code>boolean</code></td>
522<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#isEnabled(org.codehaus.jackson.JsonGenerator.Feature)">isEnabled</a></strong>(<a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson">JsonGenerator.Feature</a>&nbsp;f)</code>
523<div class="block">Check whether specified generator feature is enabled.</div>
524</td>
525</tr>
526<tr class="altColor">
527<td class="colFirst"><code>boolean</code></td>
528<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#isEnabled(org.codehaus.jackson.JsonParser.Feature)">isEnabled</a></strong>(<a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</code>
529<div class="block">Checked whether specified parser feature is enabled.</div>
530</td>
531</tr>
532<tr class="rowColor">
533<td class="colFirst"><code>boolean</code></td>
534<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#isGeneratorFeatureEnabled(org.codehaus.jackson.JsonGenerator.Feature)">isGeneratorFeatureEnabled</a></strong>(<a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson">JsonGenerator.Feature</a>&nbsp;f)</code>
535<div class="block"><strong>Deprecated.</strong>&nbsp;
536<div class="block"><i>Use <a href="../../../org/codehaus/jackson/JsonFactory.html#isEnabled(org.codehaus.jackson.JsonGenerator.Feature)"><code>isEnabled(JsonGenerator.Feature)</code></a> instead</i></div>
537</div>
538</td>
539</tr>
540<tr class="altColor">
541<td class="colFirst"><code>boolean</code></td>
542<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#isParserFeatureEnabled(org.codehaus.jackson.JsonParser.Feature)">isParserFeatureEnabled</a></strong>(<a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</code>
543<div class="block"><strong>Deprecated.</strong>&nbsp;
544<div class="block"><i>Use <a href="../../../org/codehaus/jackson/JsonFactory.html#isEnabled(org.codehaus.jackson.JsonParser.Feature)"><code>isEnabled(JsonParser.Feature)</code></a> instead</i></div>
545</div>
546</td>
547</tr>
548<tr class="rowColor">
549<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a></code></td>
550<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#setCharacterEscapes(org.codehaus.jackson.io.CharacterEscapes)">setCharacterEscapes</a></strong>(<a href="../../../org/codehaus/jackson/io/CharacterEscapes.html" title="class in org.codehaus.jackson.io">CharacterEscapes</a>&nbsp;esc)</code>
551<div class="block">Method for defining custom escapes factory uses for <a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson"><code>JsonGenerator</code></a>s
552 it creates.</div>
553</td>
554</tr>
555<tr class="altColor">
556<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a></code></td>
557<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#setCodec(org.codehaus.jackson.ObjectCodec)">setCodec</a></strong>(<a href="../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a>&nbsp;oc)</code>
558<div class="block">Method for associating a <a href="../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson"><code>ObjectCodec</code></a> (typically
559 a <a href="../../../org/codehaus/jackson/map/ObjectMapper.html" title="class in org.codehaus.jackson.map"><code>ObjectMapper</code></a>) with
560 this factory (and more importantly, parsers and generators
561 it constructs).</div>
562</td>
563</tr>
564<tr class="rowColor">
565<td class="colFirst"><code>void</code></td>
566<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#setGeneratorFeature(org.codehaus.jackson.JsonGenerator.Feature, boolean)">setGeneratorFeature</a></strong>(<a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson">JsonGenerator.Feature</a>&nbsp;f,
567                   boolean&nbsp;state)</code>
568<div class="block"><strong>Deprecated.</strong>&nbsp;
569<div class="block"><i>Use <a href="../../../org/codehaus/jackson/JsonFactory.html#configure(org.codehaus.jackson.JsonGenerator.Feature, boolean)"><code>configure(JsonGenerator.Feature, boolean)</code></a> instead</i></div>
570</div>
571</td>
572</tr>
573<tr class="altColor">
574<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a></code></td>
575<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#setInputDecorator(org.codehaus.jackson.io.InputDecorator)">setInputDecorator</a></strong>(<a href="../../../org/codehaus/jackson/io/InputDecorator.html" title="class in org.codehaus.jackson.io">InputDecorator</a>&nbsp;d)</code>
576<div class="block">Method for overriding currently configured input decorator</div>
577</td>
578</tr>
579<tr class="rowColor">
580<td class="colFirst"><code><a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a></code></td>
581<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#setOutputDecorator(org.codehaus.jackson.io.OutputDecorator)">setOutputDecorator</a></strong>(<a href="../../../org/codehaus/jackson/io/OutputDecorator.html" title="class in org.codehaus.jackson.io">OutputDecorator</a>&nbsp;d)</code>
582<div class="block">Method for overriding currently configured output decorator</div>
583</td>
584</tr>
585<tr class="altColor">
586<td class="colFirst"><code>void</code></td>
587<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#setParserFeature(org.codehaus.jackson.JsonParser.Feature, boolean)">setParserFeature</a></strong>(<a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f,
588                boolean&nbsp;state)</code>
589<div class="block"><strong>Deprecated.</strong>&nbsp;
590<div class="block"><i>Use <a href="../../../org/codehaus/jackson/JsonFactory.html#configure(org.codehaus.jackson.JsonParser.Feature, boolean)"><code>configure(JsonParser.Feature, boolean)</code></a> instead</i></div>
591</div>
592</td>
593</tr>
594<tr class="rowColor">
595<td class="colFirst"><code><a href="../../../org/codehaus/jackson/Version.html" title="class in org.codehaus.jackson">Version</a></code></td>
596<td class="colLast"><code><strong><a href="../../../org/codehaus/jackson/JsonFactory.html#version()">version</a></strong>()</code>
597<div class="block">Method called to detect version of the component that implements this interface;
598 returned version should never be null, but may return specific "not available"
599 instance (see <a href="../../../org/codehaus/jackson/Version.html" title="class in org.codehaus.jackson"><code>Version</code></a> for details).</div>
600</td>
601</tr>
602</table>
603<ul class="blockList">
604<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
605<!--   -->
606</a>
607<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>
608<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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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#toString()" title="class or interface in java.lang">toString</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>
609</ul>
610</li>
611</ul>
612</li>
613</ul>
614</div>
615<div class="details">
616<ul class="blockList">
617<li class="blockList">
618<!-- ============ FIELD DETAIL =========== -->
619<ul class="blockList">
620<li class="blockList"><a name="field_detail">
621<!--   -->
622</a>
623<h3>Field Detail</h3>
624<a name="FORMAT_NAME_JSON">
625<!--   -->
626</a>
627<ul class="blockList">
628<li class="blockList">
629<h4>FORMAT_NAME_JSON</h4>
630<pre>public static final&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> FORMAT_NAME_JSON</pre>
631<div class="block">Name used to identify JSON format
632 (and returned by <a href="../../../org/codehaus/jackson/JsonFactory.html#getFormatName()"><code>getFormatName()</code></a></div>
633<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.codehaus.jackson.JsonFactory.FORMAT_NAME_JSON">Constant Field Values</a></dd></dl>
634</li>
635</ul>
636<a name="_recyclerRef">
637<!--   -->
638</a>
639<ul class="blockList">
640<li class="blockList">
641<h4>_recyclerRef</h4>
642<pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ThreadLocal.html?is-external=true" title="class or interface in java.lang">ThreadLocal</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ref/SoftReference.html?is-external=true" title="class or interface in java.lang.ref">SoftReference</a>&lt;<a href="../../../org/codehaus/jackson/util/BufferRecycler.html" title="class in org.codehaus.jackson.util">BufferRecycler</a>&gt;&gt; _recyclerRef</pre>
643<div class="block">This <code>ThreadLocal</code> contains a <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ref/SoftReference.html?is-external=true" title="class or interface in java.lang.ref"><code>SoftReference</code></a>
644 to a <a href="../../../org/codehaus/jackson/util/BufferRecycler.html" title="class in org.codehaus.jackson.util"><code>BufferRecycler</code></a> used to provide a low-cost
645 buffer recycling between reader and writer instances.</div>
646</li>
647</ul>
648<a name="_rootCharSymbols">
649<!--   -->
650</a>
651<ul class="blockList">
652<li class="blockList">
653<h4>_rootCharSymbols</h4>
654<pre>protected&nbsp;<a href="../../../org/codehaus/jackson/sym/CharsToNameCanonicalizer.html" title="class in org.codehaus.jackson.sym">CharsToNameCanonicalizer</a> _rootCharSymbols</pre>
655<div class="block">Each factory comes equipped with a shared root symbol table.
656 It should not be linked back to the original blueprint, to
657 avoid contents from leaking between factories.</div>
658</li>
659</ul>
660<a name="_rootByteSymbols">
661<!--   -->
662</a>
663<ul class="blockList">
664<li class="blockList">
665<h4>_rootByteSymbols</h4>
666<pre>protected&nbsp;<a href="../../../org/codehaus/jackson/sym/BytesToNameCanonicalizer.html" title="class in org.codehaus.jackson.sym">BytesToNameCanonicalizer</a> _rootByteSymbols</pre>
667<div class="block">Alternative to the basic symbol table, some stream-based
668 parsers use different name canonicalization method.
669<p>
670 TODO: should clean up this; looks messy having 2 alternatives
671 with not very clear differences.</div>
672</li>
673</ul>
674<a name="_objectCodec">
675<!--   -->
676</a>
677<ul class="blockList">
678<li class="blockList">
679<h4>_objectCodec</h4>
680<pre>protected&nbsp;<a href="../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a> _objectCodec</pre>
681<div class="block">Object that implements conversion functionality between
682 Java objects and JSON content. For base JsonFactory implementation
683 usually not set by default, but can be explicitly set.
684 Sub-classes (like @link org.codehaus.jackson.map.MappingJsonFactory}
685 usually provide an implementation.</div>
686</li>
687</ul>
688<a name="_parserFeatures">
689<!--   -->
690</a>
691<ul class="blockList">
692<li class="blockList">
693<h4>_parserFeatures</h4>
694<pre>protected&nbsp;int _parserFeatures</pre>
695<div class="block">Currently enabled parser features.</div>
696</li>
697</ul>
698<a name="_generatorFeatures">
699<!--   -->
700</a>
701<ul class="blockList">
702<li class="blockList">
703<h4>_generatorFeatures</h4>
704<pre>protected&nbsp;int _generatorFeatures</pre>
705<div class="block">Currently enabled generator features.</div>
706</li>
707</ul>
708<a name="_characterEscapes">
709<!--   -->
710</a>
711<ul class="blockList">
712<li class="blockList">
713<h4>_characterEscapes</h4>
714<pre>protected&nbsp;<a href="../../../org/codehaus/jackson/io/CharacterEscapes.html" title="class in org.codehaus.jackson.io">CharacterEscapes</a> _characterEscapes</pre>
715<div class="block">Definition of custom character escapes to use for generators created
716 by this factory, if any. If null, standard data format specific
717 escapes are used.</div>
718<dl><dt><span class="strong">Since:</span></dt>
719  <dd>1.8</dd></dl>
720</li>
721</ul>
722<a name="_inputDecorator">
723<!--   -->
724</a>
725<ul class="blockList">
726<li class="blockList">
727<h4>_inputDecorator</h4>
728<pre>protected&nbsp;<a href="../../../org/codehaus/jackson/io/InputDecorator.html" title="class in org.codehaus.jackson.io">InputDecorator</a> _inputDecorator</pre>
729<div class="block">Optional helper object that may decorate input sources, to do
730 additional processing on input during parsing.</div>
731<dl><dt><span class="strong">Since:</span></dt>
732  <dd>1.8</dd></dl>
733</li>
734</ul>
735<a name="_outputDecorator">
736<!--   -->
737</a>
738<ul class="blockListLast">
739<li class="blockList">
740<h4>_outputDecorator</h4>
741<pre>protected&nbsp;<a href="../../../org/codehaus/jackson/io/OutputDecorator.html" title="class in org.codehaus.jackson.io">OutputDecorator</a> _outputDecorator</pre>
742<div class="block">Optional helper object that may decorate output object, to do
743 additional processing on output during content generation.</div>
744<dl><dt><span class="strong">Since:</span></dt>
745  <dd>1.8</dd></dl>
746</li>
747</ul>
748</li>
749</ul>
750<!-- ========= CONSTRUCTOR DETAIL ======== -->
751<ul class="blockList">
752<li class="blockList"><a name="constructor_detail">
753<!--   -->
754</a>
755<h3>Constructor Detail</h3>
756<a name="JsonFactory()">
757<!--   -->
758</a>
759<ul class="blockList">
760<li class="blockList">
761<h4>JsonFactory</h4>
762<pre>public&nbsp;JsonFactory()</pre>
763<div class="block">Default constructor used to create factory instances.
764 Creation of a factory instance is a light-weight operation,
765 but it is still a good idea to reuse limited number of
766 factory instances (and quite often just a single instance):
767 factories are used as context for storing some reused
768 processing objects (such as symbol tables parsers use)
769 and this reuse only works within context of a single
770 factory instance.</div>
771</li>
772</ul>
773<a name="JsonFactory(org.codehaus.jackson.ObjectCodec)">
774<!--   -->
775</a>
776<ul class="blockListLast">
777<li class="blockList">
778<h4>JsonFactory</h4>
779<pre>public&nbsp;JsonFactory(<a href="../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a>&nbsp;oc)</pre>
780</li>
781</ul>
782</li>
783</ul>
784<!-- ============ METHOD DETAIL ========== -->
785<ul class="blockList">
786<li class="blockList"><a name="method_detail">
787<!--   -->
788</a>
789<h3>Method Detail</h3>
790<a name="getFormatName()">
791<!--   -->
792</a>
793<ul class="blockList">
794<li class="blockList">
795<h4>getFormatName</h4>
796<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;getFormatName()</pre>
797<div class="block">Method that returns short textual id identifying format
798 this factory supports.
799<p>
800 Note: sub-classes should override this method; default
801 implementation will return null for all sub-classes</div>
802<dl><dt><span class="strong">Since:</span></dt>
803  <dd>1.8</dd></dl>
804</li>
805</ul>
806<a name="hasFormat(org.codehaus.jackson.format.InputAccessor)">
807<!--   -->
808</a>
809<ul class="blockList">
810<li class="blockList">
811<h4>hasFormat</h4>
812<pre>public&nbsp;<a href="../../../org/codehaus/jackson/format/MatchStrength.html" title="enum in org.codehaus.jackson.format">MatchStrength</a>&nbsp;hasFormat(<a href="../../../org/codehaus/jackson/format/InputAccessor.html" title="interface in org.codehaus.jackson.format">InputAccessor</a>&nbsp;acc)
813                        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></pre>
814<dl><dt><span class="strong">Throws:</span></dt>
815<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></dl>
816</li>
817</ul>
818<a name="hasJSONFormat(org.codehaus.jackson.format.InputAccessor)">
819<!--   -->
820</a>
821<ul class="blockList">
822<li class="blockList">
823<h4>hasJSONFormat</h4>
824<pre>protected&nbsp;<a href="../../../org/codehaus/jackson/format/MatchStrength.html" title="enum in org.codehaus.jackson.format">MatchStrength</a>&nbsp;hasJSONFormat(<a href="../../../org/codehaus/jackson/format/InputAccessor.html" title="interface in org.codehaus.jackson.format">InputAccessor</a>&nbsp;acc)
825                               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></pre>
826<dl><dt><span class="strong">Throws:</span></dt>
827<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></dl>
828</li>
829</ul>
830<a name="version()">
831<!--   -->
832</a>
833<ul class="blockList">
834<li class="blockList">
835<h4>version</h4>
836<pre>public&nbsp;<a href="../../../org/codehaus/jackson/Version.html" title="class in org.codehaus.jackson">Version</a>&nbsp;version()</pre>
837<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../org/codehaus/jackson/Versioned.html#version()">Versioned</a></code></strong></div>
838<div class="block">Method called to detect version of the component that implements this interface;
839 returned version should never be null, but may return specific "not available"
840 instance (see <a href="../../../org/codehaus/jackson/Version.html" title="class in org.codehaus.jackson"><code>Version</code></a> for details).</div>
841<dl>
842<dt><strong>Specified by:</strong></dt>
843<dd><code><a href="../../../org/codehaus/jackson/Versioned.html#version()">version</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/codehaus/jackson/Versioned.html" title="interface in org.codehaus.jackson">Versioned</a></code></dd>
844</dl>
845</li>
846</ul>
847<a name="configure(org.codehaus.jackson.JsonParser.Feature, boolean)">
848<!--   -->
849</a>
850<ul class="blockList">
851<li class="blockList">
852<h4>configure</h4>
853<pre>public final&nbsp;<a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a>&nbsp;configure(<a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f,
854                    boolean&nbsp;state)</pre>
855<div class="block">Method for enabling or disabling specified parser feature
856 (check <a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson"><code>JsonParser.Feature</code></a> for list of features)</div>
857<dl><dt><span class="strong">Since:</span></dt>
858  <dd>1.2</dd></dl>
859</li>
860</ul>
861<a name="enable(org.codehaus.jackson.JsonParser.Feature)">
862<!--   -->
863</a>
864<ul class="blockList">
865<li class="blockList">
866<h4>enable</h4>
867<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a>&nbsp;enable(<a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</pre>
868<div class="block">Method for enabling specified parser feature
869 (check <a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson"><code>JsonParser.Feature</code></a> for list of features)</div>
870<dl><dt><span class="strong">Since:</span></dt>
871  <dd>1.2</dd></dl>
872</li>
873</ul>
874<a name="disable(org.codehaus.jackson.JsonParser.Feature)">
875<!--   -->
876</a>
877<ul class="blockList">
878<li class="blockList">
879<h4>disable</h4>
880<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a>&nbsp;disable(<a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</pre>
881<div class="block">Method for disabling specified parser features
882 (check <a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson"><code>JsonParser.Feature</code></a> for list of features)</div>
883<dl><dt><span class="strong">Since:</span></dt>
884  <dd>1.2</dd></dl>
885</li>
886</ul>
887<a name="isEnabled(org.codehaus.jackson.JsonParser.Feature)">
888<!--   -->
889</a>
890<ul class="blockList">
891<li class="blockList">
892<h4>isEnabled</h4>
893<pre>public final&nbsp;boolean&nbsp;isEnabled(<a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</pre>
894<div class="block">Checked whether specified parser feature is enabled.</div>
895<dl><dt><span class="strong">Since:</span></dt>
896  <dd>1.2</dd></dl>
897</li>
898</ul>
899<a name="enableParserFeature(org.codehaus.jackson.JsonParser.Feature)">
900<!--   -->
901</a>
902<ul class="blockList">
903<li class="blockList">
904<h4>enableParserFeature</h4>
905<pre>public final&nbsp;void&nbsp;enableParserFeature(<a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</pre>
906<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Use <a href="../../../org/codehaus/jackson/JsonFactory.html#enable(org.codehaus.jackson.JsonParser.Feature)"><code>enable(JsonParser.Feature)</code></a> instead</i></div>
907</li>
908</ul>
909<a name="disableParserFeature(org.codehaus.jackson.JsonParser.Feature)">
910<!--   -->
911</a>
912<ul class="blockList">
913<li class="blockList">
914<h4>disableParserFeature</h4>
915<pre>public final&nbsp;void&nbsp;disableParserFeature(<a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</pre>
916<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Use <a href="../../../org/codehaus/jackson/JsonFactory.html#disable(org.codehaus.jackson.JsonParser.Feature)"><code>disable(JsonParser.Feature)</code></a> instead</i></div>
917</li>
918</ul>
919<a name="setParserFeature(org.codehaus.jackson.JsonParser.Feature, boolean)">
920<!--   -->
921</a>
922<ul class="blockList">
923<li class="blockList">
924<h4>setParserFeature</h4>
925<pre>public final&nbsp;void&nbsp;setParserFeature(<a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f,
926                    boolean&nbsp;state)</pre>
927<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Use <a href="../../../org/codehaus/jackson/JsonFactory.html#configure(org.codehaus.jackson.JsonParser.Feature, boolean)"><code>configure(JsonParser.Feature, boolean)</code></a> instead</i></div>
928</li>
929</ul>
930<a name="isParserFeatureEnabled(org.codehaus.jackson.JsonParser.Feature)">
931<!--   -->
932</a>
933<ul class="blockList">
934<li class="blockList">
935<h4>isParserFeatureEnabled</h4>
936<pre>public final&nbsp;boolean&nbsp;isParserFeatureEnabled(<a href="../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</pre>
937<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Use <a href="../../../org/codehaus/jackson/JsonFactory.html#isEnabled(org.codehaus.jackson.JsonParser.Feature)"><code>isEnabled(JsonParser.Feature)</code></a> instead</i></div>
938</li>
939</ul>
940<a name="getInputDecorator()">
941<!--   -->
942</a>
943<ul class="blockList">
944<li class="blockList">
945<h4>getInputDecorator</h4>
946<pre>public&nbsp;<a href="../../../org/codehaus/jackson/io/InputDecorator.html" title="class in org.codehaus.jackson.io">InputDecorator</a>&nbsp;getInputDecorator()</pre>
947<div class="block">Method for getting currently configured input decorator (if any;
948 there is no default decorator).</div>
949<dl><dt><span class="strong">Since:</span></dt>
950  <dd>1.8</dd></dl>
951</li>
952</ul>
953<a name="setInputDecorator(org.codehaus.jackson.io.InputDecorator)">
954<!--   -->
955</a>
956<ul class="blockList">
957<li class="blockList">
958<h4>setInputDecorator</h4>
959<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a>&nbsp;setInputDecorator(<a href="../../../org/codehaus/jackson/io/InputDecorator.html" title="class in org.codehaus.jackson.io">InputDecorator</a>&nbsp;d)</pre>
960<div class="block">Method for overriding currently configured input decorator</div>
961<dl><dt><span class="strong">Since:</span></dt>
962  <dd>1.8</dd></dl>
963</li>
964</ul>
965<a name="configure(org.codehaus.jackson.JsonGenerator.Feature, boolean)">
966<!--   -->
967</a>
968<ul class="blockList">
969<li class="blockList">
970<h4>configure</h4>
971<pre>public final&nbsp;<a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a>&nbsp;configure(<a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson">JsonGenerator.Feature</a>&nbsp;f,
972                    boolean&nbsp;state)</pre>
973<div class="block">Method for enabling or disabling specified generator feature
974 (check <a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson"><code>JsonGenerator.Feature</code></a> for list of features)</div>
975<dl><dt><span class="strong">Since:</span></dt>
976  <dd>1.2</dd></dl>
977</li>
978</ul>
979<a name="enable(org.codehaus.jackson.JsonGenerator.Feature)">
980<!--   -->
981</a>
982<ul class="blockList">
983<li class="blockList">
984<h4>enable</h4>
985<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a>&nbsp;enable(<a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson">JsonGenerator.Feature</a>&nbsp;f)</pre>
986<div class="block">Method for enabling specified generator features
987 (check <a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson"><code>JsonGenerator.Feature</code></a> for list of features)</div>
988<dl><dt><span class="strong">Since:</span></dt>
989  <dd>1.2</dd></dl>
990</li>
991</ul>
992<a name="disable(org.codehaus.jackson.JsonGenerator.Feature)">
993<!--   -->
994</a>
995<ul class="blockList">
996<li class="blockList">
997<h4>disable</h4>
998<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a>&nbsp;disable(<a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson">JsonGenerator.Feature</a>&nbsp;f)</pre>
999<div class="block">Method for disabling specified generator feature
1000 (check <a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson"><code>JsonGenerator.Feature</code></a> for list of features)</div>
1001<dl><dt><span class="strong">Since:</span></dt>
1002  <dd>1.2</dd></dl>
1003</li>
1004</ul>
1005<a name="isEnabled(org.codehaus.jackson.JsonGenerator.Feature)">
1006<!--   -->
1007</a>
1008<ul class="blockList">
1009<li class="blockList">
1010<h4>isEnabled</h4>
1011<pre>public final&nbsp;boolean&nbsp;isEnabled(<a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson">JsonGenerator.Feature</a>&nbsp;f)</pre>
1012<div class="block">Check whether specified generator feature is enabled.</div>
1013<dl><dt><span class="strong">Since:</span></dt>
1014  <dd>1.2</dd></dl>
1015</li>
1016</ul>
1017<a name="enableGeneratorFeature(org.codehaus.jackson.JsonGenerator.Feature)">
1018<!--   -->
1019</a>
1020<ul class="blockList">
1021<li class="blockList">
1022<h4>enableGeneratorFeature</h4>
1023<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
1024public final&nbsp;void&nbsp;enableGeneratorFeature(<a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson">JsonGenerator.Feature</a>&nbsp;f)</pre>
1025<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Use <a href="../../../org/codehaus/jackson/JsonFactory.html#enable(org.codehaus.jackson.JsonGenerator.Feature)"><code>enable(JsonGenerator.Feature)</code></a> instead</i></div>
1026</li>
1027</ul>
1028<a name="disableGeneratorFeature(org.codehaus.jackson.JsonGenerator.Feature)">
1029<!--   -->
1030</a>
1031<ul class="blockList">
1032<li class="blockList">
1033<h4>disableGeneratorFeature</h4>
1034<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
1035public final&nbsp;void&nbsp;disableGeneratorFeature(<a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson">JsonGenerator.Feature</a>&nbsp;f)</pre>
1036<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Use <a href="../../../org/codehaus/jackson/JsonFactory.html#disable(org.codehaus.jackson.JsonGenerator.Feature)"><code>disable(JsonGenerator.Feature)</code></a> instead</i></div>
1037</li>
1038</ul>
1039<a name="setGeneratorFeature(org.codehaus.jackson.JsonGenerator.Feature, boolean)">
1040<!--   -->
1041</a>
1042<ul class="blockList">
1043<li class="blockList">
1044<h4>setGeneratorFeature</h4>
1045<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
1046public final&nbsp;void&nbsp;setGeneratorFeature(<a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson">JsonGenerator.Feature</a>&nbsp;f,
1047                                  boolean&nbsp;state)</pre>
1048<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Use <a href="../../../org/codehaus/jackson/JsonFactory.html#configure(org.codehaus.jackson.JsonGenerator.Feature, boolean)"><code>configure(JsonGenerator.Feature, boolean)</code></a> instead</i></div>
1049</li>
1050</ul>
1051<a name="isGeneratorFeatureEnabled(org.codehaus.jackson.JsonGenerator.Feature)">
1052<!--   -->
1053</a>
1054<ul class="blockList">
1055<li class="blockList">
1056<h4>isGeneratorFeatureEnabled</h4>
1057<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
1058public final&nbsp;boolean&nbsp;isGeneratorFeatureEnabled(<a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html" title="enum in org.codehaus.jackson">JsonGenerator.Feature</a>&nbsp;f)</pre>
1059<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Use <a href="../../../org/codehaus/jackson/JsonFactory.html#isEnabled(org.codehaus.jackson.JsonGenerator.Feature)"><code>isEnabled(JsonGenerator.Feature)</code></a> instead</i></div>
1060</li>
1061</ul>
1062<a name="getCharacterEscapes()">
1063<!--   -->
1064</a>
1065<ul class="blockList">
1066<li class="blockList">
1067<h4>getCharacterEscapes</h4>
1068<pre>public&nbsp;<a href="../../../org/codehaus/jackson/io/CharacterEscapes.html" title="class in org.codehaus.jackson.io">CharacterEscapes</a>&nbsp;getCharacterEscapes()</pre>
1069<div class="block">Method for accessing custom escapes factory uses for <a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson"><code>JsonGenerator</code></a>s
1070 it creates.</div>
1071<dl><dt><span class="strong">Since:</span></dt>
1072  <dd>1.8</dd></dl>
1073</li>
1074</ul>
1075<a name="setCharacterEscapes(org.codehaus.jackson.io.CharacterEscapes)">
1076<!--   -->
1077</a>
1078<ul class="blockList">
1079<li class="blockList">
1080<h4>setCharacterEscapes</h4>
1081<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a>&nbsp;setCharacterEscapes(<a href="../../../org/codehaus/jackson/io/CharacterEscapes.html" title="class in org.codehaus.jackson.io">CharacterEscapes</a>&nbsp;esc)</pre>
1082<div class="block">Method for defining custom escapes factory uses for <a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson"><code>JsonGenerator</code></a>s
1083 it creates.</div>
1084<dl><dt><span class="strong">Since:</span></dt>
1085  <dd>1.8</dd></dl>
1086</li>
1087</ul>
1088<a name="getOutputDecorator()">
1089<!--   -->
1090</a>
1091<ul class="blockList">
1092<li class="blockList">
1093<h4>getOutputDecorator</h4>
1094<pre>public&nbsp;<a href="../../../org/codehaus/jackson/io/OutputDecorator.html" title="class in org.codehaus.jackson.io">OutputDecorator</a>&nbsp;getOutputDecorator()</pre>
1095<div class="block">Method for getting currently configured output decorator (if any;
1096 there is no default decorator).</div>
1097<dl><dt><span class="strong">Since:</span></dt>
1098  <dd>1.8</dd></dl>
1099</li>
1100</ul>
1101<a name="setOutputDecorator(org.codehaus.jackson.io.OutputDecorator)">
1102<!--   -->
1103</a>
1104<ul class="blockList">
1105<li class="blockList">
1106<h4>setOutputDecorator</h4>
1107<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a>&nbsp;setOutputDecorator(<a href="../../../org/codehaus/jackson/io/OutputDecorator.html" title="class in org.codehaus.jackson.io">OutputDecorator</a>&nbsp;d)</pre>
1108<div class="block">Method for overriding currently configured output decorator</div>
1109<dl><dt><span class="strong">Since:</span></dt>
1110  <dd>1.8</dd></dl>
1111</li>
1112</ul>
1113<a name="setCodec(org.codehaus.jackson.ObjectCodec)">
1114<!--   -->
1115</a>
1116<ul class="blockList">
1117<li class="blockList">
1118<h4>setCodec</h4>
1119<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson">JsonFactory</a>&nbsp;setCodec(<a href="../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a>&nbsp;oc)</pre>
1120<div class="block">Method for associating a <a href="../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson"><code>ObjectCodec</code></a> (typically
1121 a <a href="../../../org/codehaus/jackson/map/ObjectMapper.html" title="class in org.codehaus.jackson.map"><code>ObjectMapper</code></a>) with
1122 this factory (and more importantly, parsers and generators
1123 it constructs). This is needed to use data-binding methods
1124 of <a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson"><code>JsonParser</code></a> and <a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson"><code>JsonGenerator</code></a> instances.</div>
1125</li>
1126</ul>
1127<a name="getCodec()">
1128<!--   -->
1129</a>
1130<ul class="blockList">
1131<li class="blockList">
1132<h4>getCodec</h4>
1133<pre>public&nbsp;<a href="../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a>&nbsp;getCodec()</pre>
1134</li>
1135</ul>
1136<a name="createJsonParser(java.io.File)">
1137<!--   -->
1138</a>
1139<ul class="blockList">
1140<li class="blockList">
1141<h4>createJsonParser</h4>
1142<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>&nbsp;createJsonParser(<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>&nbsp;f)
1143                            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>,
1144                                   <a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1145<div class="block">Method for constructing JSON parser instance to parse
1146 contents of specified file. Encoding is auto-detected
1147 from contents according to JSON specification recommended
1148 mechanism.
1149<p>
1150 Underlying input stream (needed for reading contents)
1151 will be <b>owned</b> (and managed, i.e. closed as need be) by
1152 the parser, since caller has no access to it.</div>
1153<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - File that contains JSON content to parse</dd>
1154<dt><span class="strong">Throws:</span></dt>
1155<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>
1156<dd><code><a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1157</li>
1158</ul>
1159<a name="createJsonParser(java.net.URL)">
1160<!--   -->
1161</a>
1162<ul class="blockList">
1163<li class="blockList">
1164<h4>createJsonParser</h4>
1165<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>&nbsp;createJsonParser(<a href="http://docs.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url)
1166                            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>,
1167                                   <a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1168<div class="block">Method for constructing JSON parser instance to parse
1169 contents of resource reference by given URL.
1170 Encoding is auto-detected
1171 from contents according to JSON specification recommended
1172 mechanism.
1173<p>
1174 Underlying input stream (needed for reading contents)
1175 will be <b>owned</b> (and managed, i.e. closed as need be) by
1176 the parser, since caller has no access to it.</div>
1177<dl><dt><span class="strong">Parameters:</span></dt><dd><code>url</code> - URL pointing to resource that contains JSON content to parse</dd>
1178<dt><span class="strong">Throws:</span></dt>
1179<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>
1180<dd><code><a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1181</li>
1182</ul>
1183<a name="createJsonParser(java.io.InputStream)">
1184<!--   -->
1185</a>
1186<ul class="blockList">
1187<li class="blockList">
1188<h4>createJsonParser</h4>
1189<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>&nbsp;createJsonParser(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;in)
1190                            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>,
1191                                   <a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1192<div class="block">Method for constructing JSON parser instance to parse
1193 the contents accessed via specified input stream.
1194<p>
1195 The input stream will <b>not be owned</b> by
1196 the parser, it will still be managed (i.e. closed if
1197 end-of-stream is reacher, or parser close method called)
1198 if (and only if) <a href="../../../org/codehaus/jackson/JsonParser.Feature.html#AUTO_CLOSE_SOURCE"><code>JsonParser.Feature.AUTO_CLOSE_SOURCE</code></a>
1199 is enabled.
1200<p>
1201 Note: no encoding argument is taken since it can always be
1202 auto-detected as suggested by Json RFC.</div>
1203<dl><dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - InputStream to use for reading JSON content to parse</dd>
1204<dt><span class="strong">Throws:</span></dt>
1205<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>
1206<dd><code><a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1207</li>
1208</ul>
1209<a name="createJsonParser(java.io.Reader)">
1210<!--   -->
1211</a>
1212<ul class="blockList">
1213<li class="blockList">
1214<h4>createJsonParser</h4>
1215<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>&nbsp;createJsonParser(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;r)
1216                            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>,
1217                                   <a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1218<div class="block">Method for constructing parser for parsing
1219 the contents accessed via specified Reader.
1220     <p>
1221 The read stream will <b>not be owned</b> by
1222 the parser, it will still be managed (i.e. closed if
1223 end-of-stream is reacher, or parser close method called)
1224 if (and only if) <a href="../../../org/codehaus/jackson/JsonParser.Feature.html#AUTO_CLOSE_SOURCE"><code>JsonParser.Feature.AUTO_CLOSE_SOURCE</code></a>
1225 is enabled.
1226<p></div>
1227<dl><dt><span class="strong">Parameters:</span></dt><dd><code>r</code> - Reader to use for reading JSON content to parse</dd>
1228<dt><span class="strong">Throws:</span></dt>
1229<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>
1230<dd><code><a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1231</li>
1232</ul>
1233<a name="createJsonParser(byte[])">
1234<!--   -->
1235</a>
1236<ul class="blockList">
1237<li class="blockList">
1238<h4>createJsonParser</h4>
1239<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>&nbsp;createJsonParser(byte[]&nbsp;data)
1240                            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>,
1241                                   <a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1242<div class="block">Method for constructing parser for parsing
1243 the contents of given byte array.</div>
1244<dl><dt><span class="strong">Throws:</span></dt>
1245<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>
1246<dd><code><a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1247</li>
1248</ul>
1249<a name="createJsonParser(byte[], int, int)">
1250<!--   -->
1251</a>
1252<ul class="blockList">
1253<li class="blockList">
1254<h4>createJsonParser</h4>
1255<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>&nbsp;createJsonParser(byte[]&nbsp;data,
1256                          int&nbsp;offset,
1257                          int&nbsp;len)
1258                            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>,
1259                                   <a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1260<div class="block">Method for constructing parser for parsing
1261 the contents of given byte array.</div>
1262<dl><dt><span class="strong">Parameters:</span></dt><dd><code>data</code> - Buffer that contains data to parse</dd><dd><code>offset</code> - Offset of the first data byte within buffer</dd><dd><code>len</code> - Length of contents to parse within buffer</dd>
1263<dt><span class="strong">Throws:</span></dt>
1264<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>
1265<dd><code><a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1266</li>
1267</ul>
1268<a name="createJsonParser(java.lang.String)">
1269<!--   -->
1270</a>
1271<ul class="blockList">
1272<li class="blockList">
1273<h4>createJsonParser</h4>
1274<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>&nbsp;createJsonParser(<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;content)
1275                            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>,
1276                                   <a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1277<div class="block">Method for constructing parser for parsing
1278 contens of given String.</div>
1279<dl><dt><span class="strong">Throws:</span></dt>
1280<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>
1281<dd><code><a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1282</li>
1283</ul>
1284<a name="createJsonGenerator(java.io.OutputStream, org.codehaus.jackson.JsonEncoding)">
1285<!--   -->
1286</a>
1287<ul class="blockList">
1288<li class="blockList">
1289<h4>createJsonGenerator</h4>
1290<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;createJsonGenerator(<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>&nbsp;out,
1291                                <a href="../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a>&nbsp;enc)
1292                                  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></pre>
1293<div class="block">Method for constructing JSON generator for writing JSON content
1294 using specified output stream.
1295 Encoding to use must be specified, and needs to be one of available
1296 types (as per JSON specification).
1297<p>
1298 Underlying stream <b>is NOT owned</b> by the generator constructed,
1299 so that generator will NOT close the output stream when
1300 <a href="../../../org/codehaus/jackson/JsonGenerator.html#close()"><code>JsonGenerator.close()</code></a> is called (unless auto-closing
1301 feature,
1302 <a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html#AUTO_CLOSE_TARGET"><code>JsonGenerator.Feature.AUTO_CLOSE_TARGET</code></a>
1303 is enabled).
1304 Using application needs to close it explicitly if this is the case.
1305<p>
1306 Note: there are formats that use fixed encoding (like most binary data formats)
1307 and that ignore passed in encoding.</div>
1308<dl><dt><span class="strong">Parameters:</span></dt><dd><code>out</code> - OutputStream to use for writing JSON content</dd><dd><code>enc</code> - Character encoding to use</dd>
1309<dt><span class="strong">Throws:</span></dt>
1310<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></dl>
1311</li>
1312</ul>
1313<a name="createJsonGenerator(java.io.Writer)">
1314<!--   -->
1315</a>
1316<ul class="blockList">
1317<li class="blockList">
1318<h4>createJsonGenerator</h4>
1319<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;createJsonGenerator(<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>&nbsp;out)
1320                                  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></pre>
1321<div class="block">Method for constructing JSON generator for writing JSON content
1322 using specified Writer.
1323<p>
1324 Underlying stream <b>is NOT owned</b> by the generator constructed,
1325 so that generator will NOT close the Reader when
1326 <a href="../../../org/codehaus/jackson/JsonGenerator.html#close()"><code>JsonGenerator.close()</code></a> is called (unless auto-closing
1327 feature,
1328 <a href="../../../org/codehaus/jackson/JsonGenerator.Feature.html#AUTO_CLOSE_TARGET"><code>JsonGenerator.Feature.AUTO_CLOSE_TARGET</code></a> is enabled).
1329 Using application needs to close it explicitly.</div>
1330<dl><dt><span class="strong">Parameters:</span></dt><dd><code>out</code> - Writer to use for writing JSON content</dd>
1331<dt><span class="strong">Throws:</span></dt>
1332<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></dl>
1333</li>
1334</ul>
1335<a name="createJsonGenerator(java.io.OutputStream)">
1336<!--   -->
1337</a>
1338<ul class="blockList">
1339<li class="blockList">
1340<h4>createJsonGenerator</h4>
1341<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;createJsonGenerator(<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>&nbsp;out)
1342                                  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></pre>
1343<div class="block">Convenience method for constructing generator that uses default
1344 encoding of the format (UTF-8 for JSON and most other data formats).
1345<p>
1346 Note: there are formats that use fixed encoding (like most binary data formats).</div>
1347<dl><dt><span class="strong">Throws:</span></dt>
1348<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><dt><span class="strong">Since:</span></dt>
1349  <dd>1.8</dd></dl>
1350</li>
1351</ul>
1352<a name="createJsonGenerator(java.io.File, org.codehaus.jackson.JsonEncoding)">
1353<!--   -->
1354</a>
1355<ul class="blockList">
1356<li class="blockList">
1357<h4>createJsonGenerator</h4>
1358<pre>public&nbsp;<a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;createJsonGenerator(<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>&nbsp;f,
1359                                <a href="../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a>&nbsp;enc)
1360                                  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></pre>
1361<div class="block">Method for constructing JSON generator for writing JSON content
1362 to specified file, overwriting contents it might have (or creating
1363 it if such file does not yet exist).
1364 Encoding to use must be specified, and needs to be one of available
1365 types (as per JSON specification).
1366<p>
1367 Underlying stream <b>is owned</b> by the generator constructed,
1368 i.e. generator will handle closing of file when
1369 <a href="../../../org/codehaus/jackson/JsonGenerator.html#close()"><code>JsonGenerator.close()</code></a> is called.</div>
1370<dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - File to write contents to</dd><dd><code>enc</code> - Character encoding to use</dd>
1371<dt><span class="strong">Throws:</span></dt>
1372<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></dl>
1373</li>
1374</ul>
1375<a name="_createJsonParser(java.io.InputStream, org.codehaus.jackson.io.IOContext)">
1376<!--   -->
1377</a>
1378<ul class="blockList">
1379<li class="blockList">
1380<h4>_createJsonParser</h4>
1381<pre>protected&nbsp;<a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>&nbsp;_createJsonParser(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;in,
1382                           <a href="../../../org/codehaus/jackson/io/IOContext.html" title="class in org.codehaus.jackson.io">IOContext</a>&nbsp;ctxt)
1383                                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>,
1384                                       <a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1385<div class="block">Overridable factory method that actually instantiates desired parser
1386 given <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> and context object.
1387<p>
1388 This method is specifically designed to remain
1389 compatible between minor versions so that sub-classes can count
1390 on it being called as expected. That is, it is part of official
1391 interface from sub-class perspective, although not a public
1392 method available to users of factory implementations.</div>
1393<dl><dt><span class="strong">Throws:</span></dt>
1394<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>
1395<dd><code><a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1396</li>
1397</ul>
1398<a name="_createJsonParser(java.io.Reader, org.codehaus.jackson.io.IOContext)">
1399<!--   -->
1400</a>
1401<ul class="blockList">
1402<li class="blockList">
1403<h4>_createJsonParser</h4>
1404<pre>protected&nbsp;<a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>&nbsp;_createJsonParser(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a>&nbsp;r,
1405                           <a href="../../../org/codehaus/jackson/io/IOContext.html" title="class in org.codehaus.jackson.io">IOContext</a>&nbsp;ctxt)
1406                                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>,
1407                                       <a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1408<div class="block">Overridable factory method that actually instantiates parser
1409 using given <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a> object for reading content.
1410<p>
1411 This method is specifically designed to remain
1412 compatible between minor versions so that sub-classes can count
1413 on it being called as expected. That is, it is part of official
1414 interface from sub-class perspective, although not a public
1415 method available to users of factory implementations.</div>
1416<dl><dt><span class="strong">Throws:</span></dt>
1417<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>
1418<dd><code><a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1419</li>
1420</ul>
1421<a name="_createJsonParser(byte[], int, int, org.codehaus.jackson.io.IOContext)">
1422<!--   -->
1423</a>
1424<ul class="blockList">
1425<li class="blockList">
1426<h4>_createJsonParser</h4>
1427<pre>protected&nbsp;<a href="../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>&nbsp;_createJsonParser(byte[]&nbsp;data,
1428                           int&nbsp;offset,
1429                           int&nbsp;len,
1430                           <a href="../../../org/codehaus/jackson/io/IOContext.html" title="class in org.codehaus.jackson.io">IOContext</a>&nbsp;ctxt)
1431                                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>,
1432                                       <a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1433<div class="block">Overridable factory method that actually instantiates parser
1434 using given <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a> object for reading content
1435 passed as raw byte array.
1436<p>
1437 This method is specifically designed to remain
1438 compatible between minor versions so that sub-classes can count
1439 on it being called as expected. That is, it is part of official
1440 interface from sub-class perspective, although not a public
1441 method available to users of factory implementations.</div>
1442<dl><dt><span class="strong">Throws:</span></dt>
1443<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>
1444<dd><code><a href="../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1445</li>
1446</ul>
1447<a name="_createJsonGenerator(java.io.Writer, org.codehaus.jackson.io.IOContext)">
1448<!--   -->
1449</a>
1450<ul class="blockList">
1451<li class="blockList">
1452<h4>_createJsonGenerator</h4>
1453<pre>protected&nbsp;<a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;_createJsonGenerator(<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>&nbsp;out,
1454                                 <a href="../../../org/codehaus/jackson/io/IOContext.html" title="class in org.codehaus.jackson.io">IOContext</a>&nbsp;ctxt)
1455                                      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></pre>
1456<div class="block">Overridable factory method that actually instantiates generator for
1457 given <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io"><code>Writer</code></a> and context object.
1458<p>
1459 This method is specifically designed to remain
1460 compatible between minor versions so that sub-classes can count
1461 on it being called as expected. That is, it is part of official
1462 interface from sub-class perspective, although not a public
1463 method available to users of factory implementations.</div>
1464<dl><dt><span class="strong">Throws:</span></dt>
1465<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></dl>
1466</li>
1467</ul>
1468<a name="_createUTF8JsonGenerator(java.io.OutputStream, org.codehaus.jackson.io.IOContext)">
1469<!--   -->
1470</a>
1471<ul class="blockList">
1472<li class="blockList">
1473<h4>_createUTF8JsonGenerator</h4>
1474<pre>protected&nbsp;<a href="../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;_createUTF8JsonGenerator(<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>&nbsp;out,
1475                                     <a href="../../../org/codehaus/jackson/io/IOContext.html" title="class in org.codehaus.jackson.io">IOContext</a>&nbsp;ctxt)
1476                                          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></pre>
1477<div class="block">Overridable factory method that actually instantiates generator for
1478 given <a href="http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a> and context object, using UTF-8 encoding.
1479<p>
1480 This method is specifically designed to remain
1481 compatible between minor versions so that sub-classes can count
1482 on it being called as expected. That is, it is part of official
1483 interface from sub-class perspective, although not a public
1484 method available to users of factory implementations.</div>
1485<dl><dt><span class="strong">Throws:</span></dt>
1486<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></dl>
1487</li>
1488</ul>
1489<a name="_createWriter(java.io.OutputStream, org.codehaus.jackson.JsonEncoding, org.codehaus.jackson.io.IOContext)">
1490<!--   -->
1491</a>
1492<ul class="blockList">
1493<li class="blockList">
1494<h4>_createWriter</h4>
1495<pre>protected&nbsp;<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>&nbsp;_createWriter(<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>&nbsp;out,
1496                   <a href="../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a>&nbsp;enc,
1497                   <a href="../../../org/codehaus/jackson/io/IOContext.html" title="class in org.codehaus.jackson.io">IOContext</a>&nbsp;ctxt)
1498                        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></pre>
1499<dl><dt><span class="strong">Throws:</span></dt>
1500<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></dl>
1501</li>
1502</ul>
1503<a name="_createContext(java.lang.Object, boolean)">
1504<!--   -->
1505</a>
1506<ul class="blockList">
1507<li class="blockList">
1508<h4>_createContext</h4>
1509<pre>protected&nbsp;<a href="../../../org/codehaus/jackson/io/IOContext.html" title="class in org.codehaus.jackson.io">IOContext</a>&nbsp;_createContext(<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;srcRef,
1510                       boolean&nbsp;resourceManaged)</pre>
1511<div class="block">Overridable factory method that actually instantiates desired
1512 context object.</div>
1513</li>
1514</ul>
1515<a name="_getBufferRecycler()">
1516<!--   -->
1517</a>
1518<ul class="blockList">
1519<li class="blockList">
1520<h4>_getBufferRecycler</h4>
1521<pre>public&nbsp;<a href="../../../org/codehaus/jackson/util/BufferRecycler.html" title="class in org.codehaus.jackson.util">BufferRecycler</a>&nbsp;_getBufferRecycler()</pre>
1522<div class="block">Method used by factory to create buffer recycler instances
1523 for parsers and generators.
1524<p>
1525 Note: only public to give access for <code>ObjectMapper</code></div>
1526</li>
1527</ul>
1528<a name="_optimizedStreamFromURL(java.net.URL)">
1529<!--   -->
1530</a>
1531<ul class="blockListLast">
1532<li class="blockList">
1533<h4>_optimizedStreamFromURL</h4>
1534<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;_optimizedStreamFromURL(<a href="http://docs.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</a>&nbsp;url)
1535                                       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></pre>
1536<div class="block">Helper methods used for constructing an optimal stream for
1537 parsers to use, when input is to be read from an URL.
1538 This helps when reading file content via URL.</div>
1539<dl><dt><span class="strong">Throws:</span></dt>
1540<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></dl>
1541</li>
1542</ul>
1543</li>
1544</ul>
1545</li>
1546</ul>
1547</div>
1548</div>
1549<!-- ========= END OF CLASS DATA ========= -->
1550<!-- ======= START OF BOTTOM NAVBAR ====== -->
1551<div class="bottomNav"><a name="navbar_bottom">
1552<!--   -->
1553</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
1554<!--   -->
1555</a>
1556<ul class="navList" title="Navigation">
1557<li><a href="../../../overview-summary.html">Overview</a></li>
1558<li><a href="package-summary.html">Package</a></li>
1559<li class="navBarCell1Rev">Class</li>
1560<li><a href="class-use/JsonFactory.html">Use</a></li>
1561<li><a href="package-tree.html">Tree</a></li>
1562<li><a href="../../../deprecated-list.html">Deprecated</a></li>
1563<li><a href="../../../index-all.html">Index</a></li>
1564<li><a href="../../../help-doc.html">Help</a></li>
1565</ul>
1566</div>
1567<div class="subNav">
1568<ul class="navList">
1569<li><a href="../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson"><span class="strong">Prev Class</span></a></li>
1570<li><a href="../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson"><span class="strong">Next Class</span></a></li>
1571</ul>
1572<ul class="navList">
1573<li><a href="../../../index.html?org/codehaus/jackson/JsonFactory.html" target="_top">Frames</a></li>
1574<li><a href="JsonFactory.html" target="_top">No Frames</a></li>
1575</ul>
1576<ul class="navList" id="allclasses_navbar_bottom">
1577<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
1578</ul>
1579<div>
1580<script type="text/javascript"><!--
1581  allClassesLink = document.getElementById("allclasses_navbar_bottom");
1582  if(window==top) {
1583    allClassesLink.style.display = "block";
1584  }
1585  else {
1586    allClassesLink.style.display = "none";
1587  }
1588  //-->
1589</script>
1590</div>
1591<div>
1592<ul class="subNavList">
1593<li>Summary:&nbsp;</li>
1594<li>Nested&nbsp;|&nbsp;</li>
1595<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
1596<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
1597<li><a href="#method_summary">Method</a></li>
1598</ul>
1599<ul class="subNavList">
1600<li>Detail:&nbsp;</li>
1601<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
1602<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
1603<li><a href="#method_detail">Method</a></li>
1604</ul>
1605</div>
1606<a name="skip-navbar_bottom">
1607<!--   -->
1608</a></div>
1609<!-- ======== END OF BOTTOM NAVBAR ======= -->
1610</body>
1611</html>
1612