• 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_79) on Fri Jan 15 20:28:40 PST 2016 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>ObjectWriter.Prefetch (jackson-databind 2.7.0 API)</title>
8<meta name="date" content="2016-01-15">
9<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
10</head>
11<body>
12<script type="text/javascript"><!--
13    if (location.href.indexOf('is-external=true') == -1) {
14        parent.document.title="ObjectWriter.Prefetch (jackson-databind 2.7.0 API)";
15    }
16//-->
17</script>
18<noscript>
19<div>JavaScript is disabled on your browser.</div>
20</noscript>
21<!-- ========= START OF TOP NAVBAR ======= -->
22<div class="topNav"><a name="navbar_top">
23<!--   -->
24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
25<!--   -->
26</a>
27<ul class="navList" title="Navigation">
28<li><a href="../../../../overview-summary.html">Overview</a></li>
29<li><a href="package-summary.html">Package</a></li>
30<li class="navBarCell1Rev">Class</li>
31<li><a href="class-use/ObjectWriter.Prefetch.html">Use</a></li>
32<li><a href="package-tree.html">Tree</a></li>
33<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
34<li><a href="../../../../index-all.html">Index</a></li>
35<li><a href="../../../../help-doc.html">Help</a></li>
36</ul>
37</div>
38<div class="subNav">
39<ul class="navList">
40<li><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li>
41<li><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li>
42</ul>
43<ul class="navList">
44<li><a href="../../../../index.html?com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" target="_top">Frames</a></li>
45<li><a href="ObjectWriter.Prefetch.html" target="_top">No Frames</a></li>
46</ul>
47<ul class="navList" id="allclasses_navbar_top">
48<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
49</ul>
50<div>
51<script type="text/javascript"><!--
52  allClassesLink = document.getElementById("allclasses_navbar_top");
53  if(window==top) {
54    allClassesLink.style.display = "block";
55  }
56  else {
57    allClassesLink.style.display = "none";
58  }
59  //-->
60</script>
61</div>
62<div>
63<ul class="subNavList">
64<li>Summary:&nbsp;</li>
65<li>Nested&nbsp;|&nbsp;</li>
66<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
67<li>Constr&nbsp;|&nbsp;</li>
68<li><a href="#method_summary">Method</a></li>
69</ul>
70<ul class="subNavList">
71<li>Detail:&nbsp;</li>
72<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
73<li>Constr&nbsp;|&nbsp;</li>
74<li><a href="#method_detail">Method</a></li>
75</ul>
76</div>
77<a name="skip-navbar_top">
78<!--   -->
79</a></div>
80<!-- ========= END OF TOP NAVBAR ========= -->
81<!-- ======== START OF CLASS DATA ======== -->
82<div class="header">
83<div class="subTitle">com.fasterxml.jackson.databind</div>
84<h2 title="Class ObjectWriter.Prefetch" class="title">Class ObjectWriter.Prefetch</h2>
85</div>
86<div class="contentContainer">
87<ul class="inheritance">
88<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
89<li>
90<ul class="inheritance">
91<li>com.fasterxml.jackson.databind.ObjectWriter.Prefetch</li>
92</ul>
93</li>
94</ul>
95<div class="description">
96<ul class="blockList">
97<li class="blockList">
98<dl>
99<dt>All Implemented Interfaces:</dt>
100<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
101</dl>
102<dl>
103<dt>Enclosing class:</dt>
104<dd><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></dd>
105</dl>
106<hr>
107<br>
108<pre>public static final class <span class="strong">ObjectWriter.Prefetch</span>
109extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
110implements <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre>
111<div class="block">As a minor optimization, we will make an effort to pre-fetch a serializer,
112 or at least relevant <code>TypeSerializer</code>, if given enough
113 information.</div>
114<dl><dt><span class="strong">Since:</span></dt>
115  <dd>2.5</dd>
116<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#com.fasterxml.jackson.databind.ObjectWriter.Prefetch">Serialized Form</a></dd></dl>
117</li>
118</ul>
119</div>
120<div class="summary">
121<ul class="blockList">
122<li class="blockList">
123<!-- =========== FIELD SUMMARY =========== -->
124<ul class="blockList">
125<li class="blockList"><a name="field_summary">
126<!--   -->
127</a>
128<h3>Field Summary</h3>
129<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
130<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
131<tr>
132<th class="colFirst" scope="col">Modifier and Type</th>
133<th class="colLast" scope="col">Field and Description</th>
134</tr>
135<tr class="altColor">
136<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a></code></td>
137<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html#empty">empty</a></strong></code>&nbsp;</td>
138</tr>
139</table>
140</li>
141</ul>
142<!-- ========== METHOD SUMMARY =========== -->
143<ul class="blockList">
144<li class="blockList"><a name="method_summary">
145<!--   -->
146</a>
147<h3>Method Summary</h3>
148<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
149<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
150<tr>
151<th class="colFirst" scope="col">Modifier and Type</th>
152<th class="colLast" scope="col">Method and Description</th>
153</tr>
154<tr class="altColor">
155<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a></code></td>
156<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html#forRootType(com.fasterxml.jackson.databind.ObjectWriter,%20com.fasterxml.jackson.databind.JavaType)">forRootType</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;parent,
157           <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;newType)</code>&nbsp;</td>
158</tr>
159<tr class="rowColor">
160<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a></code></td>
161<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html#getTypeSerializer()">getTypeSerializer</a></strong>()</code>&nbsp;</td>
162</tr>
163<tr class="altColor">
164<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
165<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html#getValueSerializer()">getValueSerializer</a></strong>()</code>&nbsp;</td>
166</tr>
167<tr class="rowColor">
168<td class="colFirst"><code>boolean</code></td>
169<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html#hasSerializer()">hasSerializer</a></strong>()</code>&nbsp;</td>
170</tr>
171<tr class="altColor">
172<td class="colFirst"><code>void</code></td>
173<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html#serialize(com.fasterxml.jackson.core.JsonGenerator,%20java.lang.Object,%20com.fasterxml.jackson.databind.ser.DefaultSerializerProvider)">serialize</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;gen,
174         <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
175         <a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a>&nbsp;prov)</code>&nbsp;</td>
176</tr>
177</table>
178<ul class="blockList">
179<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
180<!--   -->
181</a>
182<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
183<code><a href="http://docs.oracle.com/javase/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
184</ul>
185</li>
186</ul>
187</li>
188</ul>
189</div>
190<div class="details">
191<ul class="blockList">
192<li class="blockList">
193<!-- ============ FIELD DETAIL =========== -->
194<ul class="blockList">
195<li class="blockList"><a name="field_detail">
196<!--   -->
197</a>
198<h3>Field Detail</h3>
199<a name="empty">
200<!--   -->
201</a>
202<ul class="blockListLast">
203<li class="blockList">
204<h4>empty</h4>
205<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a> empty</pre>
206</li>
207</ul>
208</li>
209</ul>
210<!-- ============ METHOD DETAIL ========== -->
211<ul class="blockList">
212<li class="blockList"><a name="method_detail">
213<!--   -->
214</a>
215<h3>Method Detail</h3>
216<a name="forRootType(com.fasterxml.jackson.databind.ObjectWriter, com.fasterxml.jackson.databind.JavaType)">
217<!--   -->
218</a>
219<ul class="blockList">
220<li class="blockList">
221<h4>forRootType</h4>
222<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a>&nbsp;forRootType(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;parent,
223                                <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;newType)</pre>
224</li>
225</ul>
226<a name="getValueSerializer()">
227<!--   -->
228</a>
229<ul class="blockList">
230<li class="blockList">
231<h4>getValueSerializer</h4>
232<pre>public final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;getValueSerializer()</pre>
233</li>
234</ul>
235<a name="getTypeSerializer()">
236<!--   -->
237</a>
238<ul class="blockList">
239<li class="blockList">
240<h4>getTypeSerializer</h4>
241<pre>public final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;getTypeSerializer()</pre>
242</li>
243</ul>
244<a name="hasSerializer()">
245<!--   -->
246</a>
247<ul class="blockList">
248<li class="blockList">
249<h4>hasSerializer</h4>
250<pre>public&nbsp;boolean&nbsp;hasSerializer()</pre>
251</li>
252</ul>
253<a name="serialize(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object, com.fasterxml.jackson.databind.ser.DefaultSerializerProvider)">
254<!--   -->
255</a>
256<ul class="blockListLast">
257<li class="blockList">
258<h4>serialize</h4>
259<pre>public&nbsp;void&nbsp;serialize(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;gen,
260             <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
261             <a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a>&nbsp;prov)
262               throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
263<dl><dt><span class="strong">Throws:</span></dt>
264<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
265</li>
266</ul>
267</li>
268</ul>
269</li>
270</ul>
271</div>
272</div>
273<!-- ========= END OF CLASS DATA ========= -->
274<!-- ======= START OF BOTTOM NAVBAR ====== -->
275<div class="bottomNav"><a name="navbar_bottom">
276<!--   -->
277</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
278<!--   -->
279</a>
280<ul class="navList" title="Navigation">
281<li><a href="../../../../overview-summary.html">Overview</a></li>
282<li><a href="package-summary.html">Package</a></li>
283<li class="navBarCell1Rev">Class</li>
284<li><a href="class-use/ObjectWriter.Prefetch.html">Use</a></li>
285<li><a href="package-tree.html">Tree</a></li>
286<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
287<li><a href="../../../../index-all.html">Index</a></li>
288<li><a href="../../../../help-doc.html">Help</a></li>
289</ul>
290</div>
291<div class="subNav">
292<ul class="navList">
293<li><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li>
294<li><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li>
295</ul>
296<ul class="navList">
297<li><a href="../../../../index.html?com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" target="_top">Frames</a></li>
298<li><a href="ObjectWriter.Prefetch.html" target="_top">No Frames</a></li>
299</ul>
300<ul class="navList" id="allclasses_navbar_bottom">
301<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
302</ul>
303<div>
304<script type="text/javascript"><!--
305  allClassesLink = document.getElementById("allclasses_navbar_bottom");
306  if(window==top) {
307    allClassesLink.style.display = "block";
308  }
309  else {
310    allClassesLink.style.display = "none";
311  }
312  //-->
313</script>
314</div>
315<div>
316<ul class="subNavList">
317<li>Summary:&nbsp;</li>
318<li>Nested&nbsp;|&nbsp;</li>
319<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
320<li>Constr&nbsp;|&nbsp;</li>
321<li><a href="#method_summary">Method</a></li>
322</ul>
323<ul class="subNavList">
324<li>Detail:&nbsp;</li>
325<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
326<li>Constr&nbsp;|&nbsp;</li>
327<li><a href="#method_detail">Method</a></li>
328</ul>
329</div>
330<a name="skip-navbar_bottom">
331<!--   -->
332</a></div>
333<!-- ======== END OF BOTTOM NAVBAR ======= -->
334<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
335</body>
336</html>
337