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 Tue Jan 23 20:22:12 PST 2018 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>PropertyNamingStrategy (jackson-databind 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<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="PropertyNamingStrategy (jackson-databind 2.9.0 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":10,"i1":10,"i2":10,"i3":10};
23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
24var altColor = "altColor";
25var rowColor = "rowColor";
26var tableTab = "tableTab";
27var activeTableTab = "activeTableTab";
28</script>
29<noscript>
30<div>JavaScript is disabled on your browser.</div>
31</noscript>
32<!-- ========= START OF TOP NAVBAR ======= -->
33<div class="topNav"><a name="navbar.top">
34<!--   -->
35</a>
36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37<a name="navbar.top.firstrow">
38<!--   -->
39</a>
40<ul class="navList" title="Navigation">
41<li><a href="../../../../overview-summary.html">Overview</a></li>
42<li><a href="package-summary.html">Package</a></li>
43<li class="navBarCell1Rev">Class</li>
44<li><a href="class-use/PropertyNamingStrategy.html">Use</a></li>
45<li><a href="package-tree.html">Tree</a></li>
46<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
47<li><a href="../../../../index-all.html">Index</a></li>
48<li><a href="../../../../help-doc.html">Help</a></li>
49</ul>
50</div>
51<div class="subNav">
52<ul class="navList">
53<li><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54<li><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.KebabCaseStrategy.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
55</ul>
56<ul class="navList">
57<li><a href="../../../../index.html?com/fasterxml/jackson/databind/PropertyNamingStrategy.html" target="_top">Frames</a></li>
58<li><a href="PropertyNamingStrategy.html" target="_top">No&nbsp;Frames</a></li>
59</ul>
60<ul class="navList" id="allclasses_navbar_top">
61<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
62</ul>
63<div>
64<script type="text/javascript"><!--
65  allClassesLink = document.getElementById("allclasses_navbar_top");
66  if(window==top) {
67    allClassesLink.style.display = "block";
68  }
69  else {
70    allClassesLink.style.display = "none";
71  }
72  //-->
73</script>
74</div>
75<div>
76<ul class="subNavList">
77<li>Summary:&nbsp;</li>
78<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
79<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
80<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
81<li><a href="#method.summary">Method</a></li>
82</ul>
83<ul class="subNavList">
84<li>Detail:&nbsp;</li>
85<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
86<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
87<li><a href="#method.detail">Method</a></li>
88</ul>
89</div>
90<a name="skip.navbar.top">
91<!--   -->
92</a></div>
93<!-- ========= END OF TOP NAVBAR ========= -->
94<!-- ======== START OF CLASS DATA ======== -->
95<div class="header">
96<div class="subTitle">com.fasterxml.jackson.databind</div>
97<h2 title="Class PropertyNamingStrategy" class="title">Class PropertyNamingStrategy</h2>
98</div>
99<div class="contentContainer">
100<ul class="inheritance">
101<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>
102<li>
103<ul class="inheritance">
104<li>com.fasterxml.jackson.databind.PropertyNamingStrategy</li>
105</ul>
106</li>
107</ul>
108<div class="description">
109<ul class="blockList">
110<li class="blockList">
111<dl>
112<dt>All Implemented Interfaces:</dt>
113<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>
114</dl>
115<dl>
116<dt>Direct Known Subclasses:</dt>
117<dd><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PropertyNamingStrategyBase</a></dd>
118</dl>
119<hr>
120<br>
121<pre>public class <span class="typeNameLabel">PropertyNamingStrategy</span>
122extends <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>
123implements <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>
124<div class="block">Class that defines how names of JSON properties ("external names")
125 are derived from names of POJO methods and fields ("internal names"),
126 in cases where they are not
127 auto-detected and no explicit annotations exist for naming.
128 Methods are passed information about POJO member for which name is needed,
129 as well as default name that would be used if no custom strategy was used.
130<p>
131 Default (empty) implementation returns suggested ("default") name unmodified.
132<p>
133 Note that the strategy is guaranteed to be called once per logical property
134 (which may be represented by multiple members; such as pair of a getter and
135 a setter), but may be called for each: implementations should not count on
136 exact number of times, and should work for any member that represent a
137 property.
138<p>
139 In absence of a registered custom strategy, default Java property naming strategy
140 is used, which leaves field names as is, and removes set/get/is prefix
141 from methods (as well as lower-cases initial sequence of capitalized
142 characters).</div>
143<dl>
144<dt><span class="seeLabel">See Also:</span></dt>
145<dd><a href="../../../../serialized-form.html#com.fasterxml.jackson.databind.PropertyNamingStrategy">Serialized Form</a></dd>
146</dl>
147</li>
148</ul>
149</div>
150<div class="summary">
151<ul class="blockList">
152<li class="blockList">
153<!-- ======== NESTED CLASS SUMMARY ======== -->
154<ul class="blockList">
155<li class="blockList"><a name="nested.class.summary">
156<!--   -->
157</a>
158<h3>Nested Class Summary</h3>
159<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
160<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
161<tr>
162<th class="colFirst" scope="col">Modifier and Type</th>
163<th class="colLast" scope="col">Class and Description</th>
164</tr>
165<tr class="altColor">
166<td class="colFirst"><code>static class&nbsp;</code></td>
167<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.KebabCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.KebabCaseStrategy</a></span></code>
168<div class="block">Naming strategy similar to <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.SnakeCaseStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy.SnakeCaseStrategy</code></a>, but instead of underscores
169 as separators, uses hyphens.</div>
170</td>
171</tr>
172<tr class="rowColor">
173<td class="colFirst"><code>static class&nbsp;</code></td>
174<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.LowerCaseStrategy</a></span></code>
175<div class="block">Simple strategy where external name simply only uses lower-case characters,
176 and no separators.</div>
177</td>
178</tr>
179<tr class="altColor">
180<td class="colFirst"><code>static class&nbsp;</code></td>
181<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy</a></span></code>
182<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
183<div class="block"><span class="deprecationComment">In 2.7 use <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.SnakeCaseStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy.SnakeCaseStrategy</code></a> instead</span></div>
184</div>
185</td>
186</tr>
187<tr class="rowColor">
188<td class="colFirst"><code>static class&nbsp;</code></td>
189<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PascalCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PascalCaseStrategy</a></span></code>
190<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
191<div class="block"><span class="deprecationComment">In 2.7 use <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.UpperCamelCaseStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy.UpperCamelCaseStrategy</code></a> instead</span></div>
192</div>
193</td>
194</tr>
195<tr class="altColor">
196<td class="colFirst"><code>static class&nbsp;</code></td>
197<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PropertyNamingStrategyBase</a></span></code>&nbsp;</td>
198</tr>
199<tr class="rowColor">
200<td class="colFirst"><code>static class&nbsp;</code></td>
201<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.SnakeCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.SnakeCaseStrategy</a></span></code>
202<div class="block">A <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy</code></a> that translates typical camel case Java
203 property names to lower case JSON element names, separated by
204 underscores.</div>
205</td>
206</tr>
207<tr class="altColor">
208<td class="colFirst"><code>static class&nbsp;</code></td>
209<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.UpperCamelCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.UpperCamelCaseStrategy</a></span></code>
210<div class="block">A <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy</code></a> that translates typical camelCase Java
211 property names to PascalCase JSON element names (i.e., with a capital
212 first letter).</div>
213</td>
214</tr>
215</table>
216</li>
217</ul>
218<!-- =========== FIELD SUMMARY =========== -->
219<ul class="blockList">
220<li class="blockList"><a name="field.summary">
221<!--   -->
222</a>
223<h3>Field Summary</h3>
224<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
225<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
226<tr>
227<th class="colFirst" scope="col">Modifier and Type</th>
228<th class="colLast" scope="col">Field and Description</th>
229</tr>
230<tr class="altColor">
231<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td>
232<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES">CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES</a></span></code>
233<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
234<div class="block"><span class="deprecationComment">Since 2.7 use <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#SNAKE_CASE"><code>SNAKE_CASE</code></a> instead;</span></div>
235</div>
236</td>
237</tr>
238<tr class="rowColor">
239<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td>
240<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#KEBAB_CASE">KEBAB_CASE</a></span></code>
241<div class="block">Naming convention used in languages like Lisp, where words are in lower-case
242 letters, separated by hyphens.</div>
243</td>
244</tr>
245<tr class="altColor">
246<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td>
247<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#LOWER_CAMEL_CASE">LOWER_CAMEL_CASE</a></span></code>
248<div class="block">Naming convention used in Java, where words other than first are capitalized
249 and no separator is used between words.</div>
250</td>
251</tr>
252<tr class="rowColor">
253<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td>
254<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#LOWER_CASE">LOWER_CASE</a></span></code>
255<div class="block">Naming convention in which all words of the logical name are in lower case, and
256 no separator is used between words.</div>
257</td>
258</tr>
259<tr class="altColor">
260<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td>
261<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#PASCAL_CASE_TO_CAMEL_CASE">PASCAL_CASE_TO_CAMEL_CASE</a></span></code>
262<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
263<div class="block"><span class="deprecationComment">Since 2.7 use <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#UPPER_CAMEL_CASE"><code>UPPER_CAMEL_CASE</code></a> instead;</span></div>
264</div>
265</td>
266</tr>
267<tr class="rowColor">
268<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td>
269<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#SNAKE_CASE">SNAKE_CASE</a></span></code>
270<div class="block">Naming convention used in languages like C, where words are in lower-case
271 letters, separated by underscores.</div>
272</td>
273</tr>
274<tr class="altColor">
275<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td>
276<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#UPPER_CAMEL_CASE">UPPER_CAMEL_CASE</a></span></code>
277<div class="block">Naming convention used in languages like Pascal, where words are capitalized
278 and no separator is used between words.</div>
279</td>
280</tr>
281</table>
282</li>
283</ul>
284<!-- ======== CONSTRUCTOR SUMMARY ======== -->
285<ul class="blockList">
286<li class="blockList"><a name="constructor.summary">
287<!--   -->
288</a>
289<h3>Constructor Summary</h3>
290<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
291<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
292<tr>
293<th class="colOne" scope="col">Constructor and Description</th>
294</tr>
295<tr class="altColor">
296<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#PropertyNamingStrategy--">PropertyNamingStrategy</a></span>()</code>&nbsp;</td>
297</tr>
298</table>
299</li>
300</ul>
301<!-- ========== METHOD SUMMARY =========== -->
302<ul class="blockList">
303<li class="blockList"><a name="method.summary">
304<!--   -->
305</a>
306<h3>Method Summary</h3>
307<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
308<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
309<tr>
310<th class="colFirst" scope="col">Modifier and Type</th>
311<th class="colLast" scope="col">Method and Description</th>
312</tr>
313<tr id="i0" class="altColor">
314<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
315<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#nameForConstructorParameter-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedParameter-java.lang.String-">nameForConstructorParameter</a></span>(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a>&lt;?&gt;&nbsp;config,
316                           <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedParameter</a>&nbsp;ctorParam,
317                           <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultName)</code>
318<div class="block">Method called to find external name (name used in JSON) for given logical
319 POJO property,
320 as defined by given constructor parameter; typically called when building a deserializer
321 (but not necessarily only then).</div>
322</td>
323</tr>
324<tr id="i1" class="rowColor">
325<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
326<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#nameForField-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedField-java.lang.String-">nameForField</a></span>(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a>&lt;?&gt;&nbsp;config,
327            <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedField</a>&nbsp;field,
328            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultName)</code>
329<div class="block">Method called to find external name (name used in JSON) for given logical
330 POJO property,
331 as defined by given field.</div>
332</td>
333</tr>
334<tr id="i2" class="altColor">
335<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
336<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#nameForGetterMethod-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-">nameForGetterMethod</a></span>(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a>&lt;?&gt;&nbsp;config,
337                   <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a>&nbsp;method,
338                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultName)</code>
339<div class="block">Method called to find external name (name used in JSON) for given logical
340 POJO property,
341 as defined by given getter method; typically called when building a serializer.</div>
342</td>
343</tr>
344<tr id="i3" class="rowColor">
345<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
346<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#nameForSetterMethod-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-">nameForSetterMethod</a></span>(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a>&lt;?&gt;&nbsp;config,
347                   <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a>&nbsp;method,
348                   <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultName)</code>
349<div class="block">Method called to find external name (name used in JSON) for given logical
350 POJO property,
351 as defined by given setter method; typically called when building a deserializer
352 (but not necessarily only then).</div>
353</td>
354</tr>
355</table>
356<ul class="blockList">
357<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
358<!--   -->
359</a>
360<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>
361<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-int-" title="class or interface in java.lang">wait</a></code></li>
362</ul>
363</li>
364</ul>
365</li>
366</ul>
367</div>
368<div class="details">
369<ul class="blockList">
370<li class="blockList">
371<!-- ============ FIELD DETAIL =========== -->
372<ul class="blockList">
373<li class="blockList"><a name="field.detail">
374<!--   -->
375</a>
376<h3>Field Detail</h3>
377<a name="SNAKE_CASE">
378<!--   -->
379</a>
380<ul class="blockList">
381<li class="blockList">
382<h4>SNAKE_CASE</h4>
383<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a> SNAKE_CASE</pre>
384<div class="block">Naming convention used in languages like C, where words are in lower-case
385 letters, separated by underscores.
386 See <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.SnakeCaseStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy.SnakeCaseStrategy</code></a> for details.</div>
387<dl>
388<dt><span class="simpleTagLabel">Since:</span></dt>
389<dd>2.7 (was formerly called <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES"><code>CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES</code></a>)</dd>
390</dl>
391</li>
392</ul>
393<a name="UPPER_CAMEL_CASE">
394<!--   -->
395</a>
396<ul class="blockList">
397<li class="blockList">
398<h4>UPPER_CAMEL_CASE</h4>
399<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a> UPPER_CAMEL_CASE</pre>
400<div class="block">Naming convention used in languages like Pascal, where words are capitalized
401 and no separator is used between words.
402 See <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PascalCaseStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy.PascalCaseStrategy</code></a> for details.</div>
403<dl>
404<dt><span class="simpleTagLabel">Since:</span></dt>
405<dd>2.7 (was formerly called <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#PASCAL_CASE_TO_CAMEL_CASE"><code>PASCAL_CASE_TO_CAMEL_CASE</code></a>)</dd>
406</dl>
407</li>
408</ul>
409<a name="LOWER_CAMEL_CASE">
410<!--   -->
411</a>
412<ul class="blockList">
413<li class="blockList">
414<h4>LOWER_CAMEL_CASE</h4>
415<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a> LOWER_CAMEL_CASE</pre>
416<div class="block">Naming convention used in Java, where words other than first are capitalized
417 and no separator is used between words. Since this is the native Java naming convention,
418 naming strategy will not do any transformation between names in data (JSON) and
419 POJOS.</div>
420<dl>
421<dt><span class="simpleTagLabel">Since:</span></dt>
422<dd>2.7 (was formerly called <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#PASCAL_CASE_TO_CAMEL_CASE"><code>PASCAL_CASE_TO_CAMEL_CASE</code></a>)</dd>
423</dl>
424</li>
425</ul>
426<a name="LOWER_CASE">
427<!--   -->
428</a>
429<ul class="blockList">
430<li class="blockList">
431<h4>LOWER_CASE</h4>
432<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a> LOWER_CASE</pre>
433<div class="block">Naming convention in which all words of the logical name are in lower case, and
434 no separator is used between words.
435 See <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy.LowerCaseStrategy</code></a> for details.</div>
436<dl>
437<dt><span class="simpleTagLabel">Since:</span></dt>
438<dd>2.4</dd>
439</dl>
440</li>
441</ul>
442<a name="KEBAB_CASE">
443<!--   -->
444</a>
445<ul class="blockList">
446<li class="blockList">
447<h4>KEBAB_CASE</h4>
448<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a> KEBAB_CASE</pre>
449<div class="block">Naming convention used in languages like Lisp, where words are in lower-case
450 letters, separated by hyphens.
451 See <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.KebabCaseStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy.KebabCaseStrategy</code></a> for details.</div>
452<dl>
453<dt><span class="simpleTagLabel">Since:</span></dt>
454<dd>2.7</dd>
455</dl>
456</li>
457</ul>
458<a name="CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES">
459<!--   -->
460</a>
461<ul class="blockList">
462<li class="blockList">
463<h4>CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES</h4>
464<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
465public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a> CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES</pre>
466<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Since 2.7 use <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#SNAKE_CASE"><code>SNAKE_CASE</code></a> instead;</span></div>
467</li>
468</ul>
469<a name="PASCAL_CASE_TO_CAMEL_CASE">
470<!--   -->
471</a>
472<ul class="blockListLast">
473<li class="blockList">
474<h4>PASCAL_CASE_TO_CAMEL_CASE</h4>
475<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
476public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a> PASCAL_CASE_TO_CAMEL_CASE</pre>
477<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Since 2.7 use <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#UPPER_CAMEL_CASE"><code>UPPER_CAMEL_CASE</code></a> instead;</span></div>
478</li>
479</ul>
480</li>
481</ul>
482<!-- ========= CONSTRUCTOR DETAIL ======== -->
483<ul class="blockList">
484<li class="blockList"><a name="constructor.detail">
485<!--   -->
486</a>
487<h3>Constructor Detail</h3>
488<a name="PropertyNamingStrategy--">
489<!--   -->
490</a>
491<ul class="blockListLast">
492<li class="blockList">
493<h4>PropertyNamingStrategy</h4>
494<pre>public&nbsp;PropertyNamingStrategy()</pre>
495</li>
496</ul>
497</li>
498</ul>
499<!-- ============ METHOD DETAIL ========== -->
500<ul class="blockList">
501<li class="blockList"><a name="method.detail">
502<!--   -->
503</a>
504<h3>Method Detail</h3>
505<a name="nameForField-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedField-java.lang.String-">
506<!--   -->
507</a>
508<ul class="blockList">
509<li class="blockList">
510<h4>nameForField</h4>
511<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;nameForField(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a>&lt;?&gt;&nbsp;config,
512                           <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedField</a>&nbsp;field,
513                           <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultName)</pre>
514<div class="block">Method called to find external name (name used in JSON) for given logical
515 POJO property,
516 as defined by given field.</div>
517<dl>
518<dt><span class="paramLabel">Parameters:</span></dt>
519<dd><code>config</code> - Configuration in used: either <code>SerializationConfig</code>
520   or <code>DeserializationConfig</code>, depending on whether method is called
521   during serialization or deserialization</dd>
522<dd><code>field</code> - Field used to access property</dd>
523<dd><code>defaultName</code> - Default name that would be used for property in absence of custom strategy</dd>
524<dt><span class="returnLabel">Returns:</span></dt>
525<dd>Logical name to use for property that the field represents</dd>
526</dl>
527</li>
528</ul>
529<a name="nameForGetterMethod-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-">
530<!--   -->
531</a>
532<ul class="blockList">
533<li class="blockList">
534<h4>nameForGetterMethod</h4>
535<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;nameForGetterMethod(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a>&lt;?&gt;&nbsp;config,
536                                  <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a>&nbsp;method,
537                                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultName)</pre>
538<div class="block">Method called to find external name (name used in JSON) for given logical
539 POJO property,
540 as defined by given getter method; typically called when building a serializer.
541 (but not always -- when using "getter-as-setter", may be called during
542 deserialization)</div>
543<dl>
544<dt><span class="paramLabel">Parameters:</span></dt>
545<dd><code>config</code> - Configuration in used: either <code>SerializationConfig</code>
546   or <code>DeserializationConfig</code>, depending on whether method is called
547   during serialization or deserialization</dd>
548<dd><code>method</code> - Method used to access property.</dd>
549<dd><code>defaultName</code> - Default name that would be used for property in absence of custom strategy</dd>
550<dt><span class="returnLabel">Returns:</span></dt>
551<dd>Logical name to use for property that the method represents</dd>
552</dl>
553</li>
554</ul>
555<a name="nameForSetterMethod-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-">
556<!--   -->
557</a>
558<ul class="blockList">
559<li class="blockList">
560<h4>nameForSetterMethod</h4>
561<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;nameForSetterMethod(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a>&lt;?&gt;&nbsp;config,
562                                  <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a>&nbsp;method,
563                                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultName)</pre>
564<div class="block">Method called to find external name (name used in JSON) for given logical
565 POJO property,
566 as defined by given setter method; typically called when building a deserializer
567 (but not necessarily only then).</div>
568<dl>
569<dt><span class="paramLabel">Parameters:</span></dt>
570<dd><code>config</code> - Configuration in used: either <code>SerializationConfig</code>
571   or <code>DeserializationConfig</code>, depending on whether method is called
572   during serialization or deserialization</dd>
573<dd><code>method</code> - Method used to access property.</dd>
574<dd><code>defaultName</code> - Default name that would be used for property in absence of custom strategy</dd>
575<dt><span class="returnLabel">Returns:</span></dt>
576<dd>Logical name to use for property that the method represents</dd>
577</dl>
578</li>
579</ul>
580<a name="nameForConstructorParameter-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedParameter-java.lang.String-">
581<!--   -->
582</a>
583<ul class="blockListLast">
584<li class="blockList">
585<h4>nameForConstructorParameter</h4>
586<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;nameForConstructorParameter(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a>&lt;?&gt;&nbsp;config,
587                                          <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedParameter</a>&nbsp;ctorParam,
588                                          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultName)</pre>
589<div class="block">Method called to find external name (name used in JSON) for given logical
590 POJO property,
591 as defined by given constructor parameter; typically called when building a deserializer
592 (but not necessarily only then).</div>
593<dl>
594<dt><span class="paramLabel">Parameters:</span></dt>
595<dd><code>config</code> - Configuration in used: either <code>SerializationConfig</code>
596   or <code>DeserializationConfig</code>, depending on whether method is called
597   during serialization or deserialization</dd>
598<dd><code>ctorParam</code> - Constructor parameter used to pass property.</dd>
599<dd><code>defaultName</code> - Default name that would be used for property in absence of custom strategy</dd>
600</dl>
601</li>
602</ul>
603</li>
604</ul>
605</li>
606</ul>
607</div>
608</div>
609<!-- ========= END OF CLASS DATA ========= -->
610<!-- ======= START OF BOTTOM NAVBAR ====== -->
611<div class="bottomNav"><a name="navbar.bottom">
612<!--   -->
613</a>
614<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
615<a name="navbar.bottom.firstrow">
616<!--   -->
617</a>
618<ul class="navList" title="Navigation">
619<li><a href="../../../../overview-summary.html">Overview</a></li>
620<li><a href="package-summary.html">Package</a></li>
621<li class="navBarCell1Rev">Class</li>
622<li><a href="class-use/PropertyNamingStrategy.html">Use</a></li>
623<li><a href="package-tree.html">Tree</a></li>
624<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
625<li><a href="../../../../index-all.html">Index</a></li>
626<li><a href="../../../../help-doc.html">Help</a></li>
627</ul>
628</div>
629<div class="subNav">
630<ul class="navList">
631<li><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
632<li><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.KebabCaseStrategy.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
633</ul>
634<ul class="navList">
635<li><a href="../../../../index.html?com/fasterxml/jackson/databind/PropertyNamingStrategy.html" target="_top">Frames</a></li>
636<li><a href="PropertyNamingStrategy.html" target="_top">No&nbsp;Frames</a></li>
637</ul>
638<ul class="navList" id="allclasses_navbar_bottom">
639<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
640</ul>
641<div>
642<script type="text/javascript"><!--
643  allClassesLink = document.getElementById("allclasses_navbar_bottom");
644  if(window==top) {
645    allClassesLink.style.display = "block";
646  }
647  else {
648    allClassesLink.style.display = "none";
649  }
650  //-->
651</script>
652</div>
653<div>
654<ul class="subNavList">
655<li>Summary:&nbsp;</li>
656<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
657<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
658<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
659<li><a href="#method.summary">Method</a></li>
660</ul>
661<ul class="subNavList">
662<li>Detail:&nbsp;</li>
663<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
664<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
665<li><a href="#method.detail">Method</a></li>
666</ul>
667</div>
668<a name="skip.navbar.bottom">
669<!--   -->
670</a></div>
671<!-- ======== END OF BOTTOM NAVBAR ======= -->
672<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
673</body>
674</html>
675