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 Tue Jan 23 20:10:06 PST 2018 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>Uses of Class com.fasterxml.jackson.annotation.JsonInclude.Value (Jackson-annotations 2.9.0 API)</title>
8<meta name="date" content="2018-01-23">
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="Uses of Class com.fasterxml.jackson.annotation.JsonInclude.Value (Jackson-annotations 2.9.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="../../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li>
29<li><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">Class</a></li>
30<li class="navBarCell1Rev">Use</li>
31<li><a href="../package-tree.html">Tree</a></li>
32<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
33<li><a href="../../../../../index-all.html">Index</a></li>
34<li><a href="../../../../../help-doc.html">Help</a></li>
35</ul>
36</div>
37<div class="subNav">
38<ul class="navList">
39<li>Prev</li>
40<li>Next</li>
41</ul>
42<ul class="navList">
43<li><a href="../../../../../index.html?com/fasterxml/jackson/annotation/class-use/JsonInclude.Value.html" target="_top">Frames</a></li>
44<li><a href="JsonInclude.Value.html" target="_top">No Frames</a></li>
45</ul>
46<ul class="navList" id="allclasses_navbar_top">
47<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
48</ul>
49<div>
50<script type="text/javascript"><!--
51  allClassesLink = document.getElementById("allclasses_navbar_top");
52  if(window==top) {
53    allClassesLink.style.display = "block";
54  }
55  else {
56    allClassesLink.style.display = "none";
57  }
58  //-->
59</script>
60</div>
61<a name="skip-navbar_top">
62<!--   -->
63</a></div>
64<!-- ========= END OF TOP NAVBAR ========= -->
65<div class="header">
66<h2 title="Uses of Class com.fasterxml.jackson.annotation.JsonInclude.Value" class="title">Uses of Class<br>com.fasterxml.jackson.annotation.JsonInclude.Value</h2>
67</div>
68<div class="classUseContainer">
69<ul class="blockList">
70<li class="blockList">
71<ul class="blockList">
72<li class="blockList"><a name="com.fasterxml.jackson.annotation">
73<!--   -->
74</a>
75<h3>Uses of <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a> in <a href="../../../../../com/fasterxml/jackson/annotation/package-summary.html">com.fasterxml.jackson.annotation</a></h3>
76<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
77<caption><span>Fields in <a href="../../../../../com/fasterxml/jackson/annotation/package-summary.html">com.fasterxml.jackson.annotation</a> declared as <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></span><span class="tabEnd">&nbsp;</span></caption>
78<tr>
79<th class="colFirst" scope="col">Modifier and Type</th>
80<th class="colLast" scope="col">Field and Description</th>
81</tr>
82<tbody>
83<tr class="altColor">
84<td class="colFirst"><code>protected static <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
85<td class="colLast"><span class="strong">JsonInclude.Value.</span><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html#EMPTY">EMPTY</a></strong></code>&nbsp;</td>
86</tr>
87</tbody>
88</table>
89<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
90<caption><span>Methods in <a href="../../../../../com/fasterxml/jackson/annotation/package-summary.html">com.fasterxml.jackson.annotation</a> that return <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></span><span class="tabEnd">&nbsp;</span></caption>
91<tr>
92<th class="colFirst" scope="col">Modifier and Type</th>
93<th class="colLast" scope="col">Method and Description</th>
94</tr>
95<tbody>
96<tr class="altColor">
97<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
98<td class="colLast"><span class="strong">JsonInclude.Value.</span><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html#construct(com.fasterxml.jackson.annotation.JsonInclude.Include,%20com.fasterxml.jackson.annotation.JsonInclude.Include)">construct</a></strong>(<a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Include.html" title="enum in com.fasterxml.jackson.annotation">JsonInclude.Include</a>&nbsp;valueIncl,
99         <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Include.html" title="enum in com.fasterxml.jackson.annotation">JsonInclude.Include</a>&nbsp;contentIncl)</code>
100<div class="block">Factory method to use for constructing an instance for components</div>
101</td>
102</tr>
103<tr class="rowColor">
104<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
105<td class="colLast"><span class="strong">JsonInclude.Value.</span><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html#construct(com.fasterxml.jackson.annotation.JsonInclude.Include,%20com.fasterxml.jackson.annotation.JsonInclude.Include,%20java.lang.Class,%20java.lang.Class)">construct</a></strong>(<a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Include.html" title="enum in com.fasterxml.jackson.annotation">JsonInclude.Include</a>&nbsp;valueIncl,
106         <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Include.html" title="enum in com.fasterxml.jackson.annotation">JsonInclude.Include</a>&nbsp;contentIncl,
107         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;valueFilter,
108         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;contentFilter)</code>
109<div class="block">Factory method to use for constructing an instance for components</div>
110</td>
111</tr>
112<tr class="altColor">
113<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
114<td class="colLast"><span class="strong">JsonInclude.Value.</span><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html#empty()">empty</a></strong>()</code>&nbsp;</td>
115</tr>
116<tr class="rowColor">
117<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
118<td class="colLast"><span class="strong">JsonInclude.Value.</span><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html#from(com.fasterxml.jackson.annotation.JsonInclude)">from</a></strong>(<a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.html" title="annotation in com.fasterxml.jackson.annotation">JsonInclude</a>&nbsp;src)</code>
119<div class="block">Factory method to use for constructing an instance from instance of
120 <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.html" title="annotation in com.fasterxml.jackson.annotation"><code>JsonInclude</code></a></div>
121</td>
122</tr>
123<tr class="altColor">
124<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
125<td class="colLast"><span class="strong">JsonInclude.Value.</span><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html#merge(com.fasterxml.jackson.annotation.JsonInclude.Value,%20com.fasterxml.jackson.annotation.JsonInclude.Value)">merge</a></strong>(<a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a>&nbsp;base,
126     <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a>&nbsp;overrides)</code>
127<div class="block">Helper method that will try to combine values from two <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation"><code>JsonInclude.Value</code></a>
128 instances, using one as base settings, and the other as overrides
129 to use instead of base values when defined; base values are only
130 use if override does not specify a value (matching value is null
131 or logically missing).</div>
132</td>
133</tr>
134<tr class="rowColor">
135<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
136<td class="colLast"><span class="strong">JsonInclude.Value.</span><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html#mergeAll(com.fasterxml.jackson.annotation.JsonInclude.Value...)">mergeAll</a></strong>(<a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a>...&nbsp;values)</code>&nbsp;</td>
137</tr>
138<tr class="altColor">
139<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
140<td class="colLast"><span class="strong">JsonInclude.Value.</span><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html#withContentFilter(java.lang.Class)">withContentFilter</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;filter)</code>
141<div class="block">Mutant factory that will either
142
143 Set <code>content</code> as <code>USE_DEFAULTS</code>
144 and <code>contentFilter</code> to <code>filter</code> (if filter not null);
145 or
146 Set <code>content</code> as <code>ALWAYS</code> (if filter null)
147
148  </div>
149</td>
150</tr>
151<tr class="rowColor">
152<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
153<td class="colLast"><span class="strong">JsonInclude.Value.</span><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html#withContentInclusion(com.fasterxml.jackson.annotation.JsonInclude.Include)">withContentInclusion</a></strong>(<a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Include.html" title="enum in com.fasterxml.jackson.annotation">JsonInclude.Include</a>&nbsp;incl)</code>&nbsp;</td>
154</tr>
155<tr class="altColor">
156<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
157<td class="colLast"><span class="strong">JsonInclude.Value.</span><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html#withOverrides(com.fasterxml.jackson.annotation.JsonInclude.Value)">withOverrides</a></strong>(<a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a>&nbsp;overrides)</code>
158<div class="block">Mutant factory method that merges values of this value with given override
159 values, so that any explicitly defined inclusion in overrides has precedence over
160 settings of this value instance.</div>
161</td>
162</tr>
163<tr class="rowColor">
164<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
165<td class="colLast"><span class="strong">JsonInclude.Value.</span><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html#withValueFilter(java.lang.Class)">withValueFilter</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;filter)</code>
166<div class="block">Mutant factory that will either
167
168 Set <code>value</code> as <code>USE_DEFAULTS</code>
169 and <code>valueFilter</code> to <code>filter</code> (if filter not null);
170 or
171 Set <code>value</code> as <code>ALWAYS</code> (if filter null)
172
173  </div>
174</td>
175</tr>
176<tr class="altColor">
177<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
178<td class="colLast"><span class="strong">JsonInclude.Value.</span><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html#withValueInclusion(com.fasterxml.jackson.annotation.JsonInclude.Include)">withValueInclusion</a></strong>(<a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Include.html" title="enum in com.fasterxml.jackson.annotation">JsonInclude.Include</a>&nbsp;incl)</code>&nbsp;</td>
179</tr>
180</tbody>
181</table>
182<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
183<caption><span>Methods in <a href="../../../../../com/fasterxml/jackson/annotation/package-summary.html">com.fasterxml.jackson.annotation</a> with parameters of type <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></span><span class="tabEnd">&nbsp;</span></caption>
184<tr>
185<th class="colFirst" scope="col">Modifier and Type</th>
186<th class="colLast" scope="col">Method and Description</th>
187</tr>
188<tbody>
189<tr class="altColor">
190<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
191<td class="colLast"><span class="strong">JsonInclude.Value.</span><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html#merge(com.fasterxml.jackson.annotation.JsonInclude.Value,%20com.fasterxml.jackson.annotation.JsonInclude.Value)">merge</a></strong>(<a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a>&nbsp;base,
192     <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a>&nbsp;overrides)</code>
193<div class="block">Helper method that will try to combine values from two <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation"><code>JsonInclude.Value</code></a>
194 instances, using one as base settings, and the other as overrides
195 to use instead of base values when defined; base values are only
196 use if override does not specify a value (matching value is null
197 or logically missing).</div>
198</td>
199</tr>
200<tr class="rowColor">
201<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
202<td class="colLast"><span class="strong">JsonInclude.Value.</span><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html#mergeAll(com.fasterxml.jackson.annotation.JsonInclude.Value...)">mergeAll</a></strong>(<a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a>...&nbsp;values)</code>&nbsp;</td>
203</tr>
204<tr class="altColor">
205<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td>
206<td class="colLast"><span class="strong">JsonInclude.Value.</span><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html#withOverrides(com.fasterxml.jackson.annotation.JsonInclude.Value)">withOverrides</a></strong>(<a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">JsonInclude.Value</a>&nbsp;overrides)</code>
207<div class="block">Mutant factory method that merges values of this value with given override
208 values, so that any explicitly defined inclusion in overrides has precedence over
209 settings of this value instance.</div>
210</td>
211</tr>
212</tbody>
213</table>
214</li>
215</ul>
216</li>
217</ul>
218</div>
219<!-- ======= START OF BOTTOM NAVBAR ====== -->
220<div class="bottomNav"><a name="navbar_bottom">
221<!--   -->
222</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
223<!--   -->
224</a>
225<ul class="navList" title="Navigation">
226<li><a href="../../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li>
227<li><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.Value.html" title="class in com.fasterxml.jackson.annotation">Class</a></li>
228<li class="navBarCell1Rev">Use</li>
229<li><a href="../package-tree.html">Tree</a></li>
230<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
231<li><a href="../../../../../index-all.html">Index</a></li>
232<li><a href="../../../../../help-doc.html">Help</a></li>
233</ul>
234</div>
235<div class="subNav">
236<ul class="navList">
237<li>Prev</li>
238<li>Next</li>
239</ul>
240<ul class="navList">
241<li><a href="../../../../../index.html?com/fasterxml/jackson/annotation/class-use/JsonInclude.Value.html" target="_top">Frames</a></li>
242<li><a href="JsonInclude.Value.html" target="_top">No Frames</a></li>
243</ul>
244<ul class="navList" id="allclasses_navbar_bottom">
245<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
246</ul>
247<div>
248<script type="text/javascript"><!--
249  allClassesLink = document.getElementById("allclasses_navbar_bottom");
250  if(window==top) {
251    allClassesLink.style.display = "block";
252  }
253  else {
254    allClassesLink.style.display = "none";
255  }
256  //-->
257</script>
258</div>
259<a name="skip-navbar_bottom">
260<!--   -->
261</a></div>
262<!-- ======== END OF BOTTOM NAVBAR ======= -->
263<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
264</body>
265</html>
266