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