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 Wed Jul 20 08:39:10 PDT 2016 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>PropertyNamingStrategy (jackson-databind 2.8.0 API)</title> 8<meta name="date" content="2016-07-20"> 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="PropertyNamingStrategy (jackson-databind 2.8.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/PropertyNamingStrategy.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/PropertyName.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.KebabCaseStrategy.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/PropertyNamingStrategy.html" target="_top">Frames</a></li> 45<li><a href="PropertyNamingStrategy.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: </li> 65<li><a href="#nested_class_summary">Nested</a> | </li> 66<li><a href="#field_summary">Field</a> | </li> 67<li><a href="#constructor_summary">Constr</a> | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li><a href="#field_detail">Field</a> | </li> 73<li><a href="#constructor_detail">Constr</a> | </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 PropertyNamingStrategy" class="title">Class PropertyNamingStrategy</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.PropertyNamingStrategy</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>Direct Known Subclasses:</dt> 104<dd><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PropertyNamingStrategyBase</a></dd> 105</dl> 106<hr> 107<br> 108<pre>public class <span class="strong">PropertyNamingStrategy</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">Class that defines how names of JSON properties ("external names") 112 are derived from names of POJO methods and fields ("internal names"), 113 in cases where they are not 114 auto-detected and no explicit annotations exist for naming. 115 Methods are passed information about POJO member for which name is needed, 116 as well as default name that would be used if no custom strategy was used. 117<p> 118 Default (empty) implementation returns suggested ("default") name unmodified. 119<p> 120 Note that the strategy is guaranteed to be called once per logical property 121 (which may be represented by multiple members; such as pair of a getter and 122 a setter), but may be called for each: implementations should not count on 123 exact number of times, and should work for any member that represent a 124 property. 125<p> 126 In absence of a registered custom strategy, default Java property naming strategy 127 is used, which leaves field names as is, and removes set/get/is prefix 128 from methods (as well as lower-cases initial sequence of capitalized 129 characters).</div> 130<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../serialized-form.html#com.fasterxml.jackson.databind.PropertyNamingStrategy">Serialized Form</a></dd></dl> 131</li> 132</ul> 133</div> 134<div class="summary"> 135<ul class="blockList"> 136<li class="blockList"> 137<!-- ======== NESTED CLASS SUMMARY ======== --> 138<ul class="blockList"> 139<li class="blockList"><a name="nested_class_summary"> 140<!-- --> 141</a> 142<h3>Nested Class Summary</h3> 143<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> 144<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> 145<tr> 146<th class="colFirst" scope="col">Modifier and Type</th> 147<th class="colLast" scope="col">Class and Description</th> 148</tr> 149<tr class="altColor"> 150<td class="colFirst"><code>static class </code></td> 151<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.KebabCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.KebabCaseStrategy</a></strong></code> 152<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 153 as separators, uses hyphens.</div> 154</td> 155</tr> 156<tr class="rowColor"> 157<td class="colFirst"><code>static class </code></td> 158<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.LowerCaseStrategy</a></strong></code> 159<div class="block">Simple strategy where external name simply only uses lower-case characters, 160 and no separators.</div> 161</td> 162</tr> 163<tr class="altColor"> 164<td class="colFirst"><code>static class </code></td> 165<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy</a></strong></code> 166<div class="block"><strong>Deprecated.</strong> 167<div class="block"><i>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</i></div> 168</div> 169</td> 170</tr> 171<tr class="rowColor"> 172<td class="colFirst"><code>static class </code></td> 173<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PascalCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PascalCaseStrategy</a></strong></code> 174<div class="block"><strong>Deprecated.</strong> 175<div class="block"><i>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</i></div> 176</div> 177</td> 178</tr> 179<tr class="altColor"> 180<td class="colFirst"><code>static class </code></td> 181<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PropertyNamingStrategyBase</a></strong></code> </td> 182</tr> 183<tr class="rowColor"> 184<td class="colFirst"><code>static class </code></td> 185<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.SnakeCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.SnakeCaseStrategy</a></strong></code> 186<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 187 property names to lower case JSON element names, separated by 188 underscores.</div> 189</td> 190</tr> 191<tr class="altColor"> 192<td class="colFirst"><code>static class </code></td> 193<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.UpperCamelCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.UpperCamelCaseStrategy</a></strong></code> 194<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 195 property names to PascalCase JSON element names (i.e., with a capital 196 first letter).</div> 197</td> 198</tr> 199</table> 200</li> 201</ul> 202<!-- =========== FIELD SUMMARY =========== --> 203<ul class="blockList"> 204<li class="blockList"><a name="field_summary"> 205<!-- --> 206</a> 207<h3>Field Summary</h3> 208<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 209<caption><span>Fields</span><span class="tabEnd"> </span></caption> 210<tr> 211<th class="colFirst" scope="col">Modifier and Type</th> 212<th class="colLast" scope="col">Field and Description</th> 213</tr> 214<tr class="altColor"> 215<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td> 216<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES">CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES</a></strong></code> 217<div class="block"><strong>Deprecated.</strong> 218<div class="block"><i>Since 2.7 use <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#SNAKE_CASE"><code>SNAKE_CASE</code></a> instead;</i></div> 219</div> 220</td> 221</tr> 222<tr class="rowColor"> 223<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td> 224<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#KEBAB_CASE">KEBAB_CASE</a></strong></code> 225<div class="block">Naming convention used in languages like Lisp, where words are in lower-case 226 letters, separated by hyphens.</div> 227</td> 228</tr> 229<tr class="altColor"> 230<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td> 231<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#LOWER_CAMEL_CASE">LOWER_CAMEL_CASE</a></strong></code> 232<div class="block">Naming convention used in Java, where words other than first are capitalized 233 and no separator is used between words.</div> 234</td> 235</tr> 236<tr class="rowColor"> 237<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td> 238<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#LOWER_CASE">LOWER_CASE</a></strong></code> 239<div class="block">Naming convention in which all words of the logical name are in lower case, and 240 no separator is used between words.</div> 241</td> 242</tr> 243<tr class="altColor"> 244<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td> 245<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#PASCAL_CASE_TO_CAMEL_CASE">PASCAL_CASE_TO_CAMEL_CASE</a></strong></code> 246<div class="block"><strong>Deprecated.</strong> 247<div class="block"><i>Since 2.7 use <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#UPPER_CAMEL_CASE"><code>UPPER_CAMEL_CASE</code></a> instead;</i></div> 248</div> 249</td> 250</tr> 251<tr class="rowColor"> 252<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td> 253<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#SNAKE_CASE">SNAKE_CASE</a></strong></code> 254<div class="block">Naming convention used in languages like C, where words are in lower-case 255 letters, separated by underscores.</div> 256</td> 257</tr> 258<tr class="altColor"> 259<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td> 260<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#UPPER_CAMEL_CASE">UPPER_CAMEL_CASE</a></strong></code> 261<div class="block">Naming convention used in languages like Pascal, where words are capitalized 262 and no separator is used between words.</div> 263</td> 264</tr> 265</table> 266</li> 267</ul> 268<!-- ======== CONSTRUCTOR SUMMARY ======== --> 269<ul class="blockList"> 270<li class="blockList"><a name="constructor_summary"> 271<!-- --> 272</a> 273<h3>Constructor Summary</h3> 274<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 275<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 276<tr> 277<th class="colOne" scope="col">Constructor and Description</th> 278</tr> 279<tr class="altColor"> 280<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#PropertyNamingStrategy()">PropertyNamingStrategy</a></strong>()</code> </td> 281</tr> 282</table> 283</li> 284</ul> 285<!-- ========== METHOD SUMMARY =========== --> 286<ul class="blockList"> 287<li class="blockList"><a name="method_summary"> 288<!-- --> 289</a> 290<h3>Method Summary</h3> 291<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 292<caption><span>Methods</span><span class="tabEnd"> </span></caption> 293<tr> 294<th class="colFirst" scope="col">Modifier and Type</th> 295<th class="colLast" scope="col">Method and Description</th> 296</tr> 297<tr class="altColor"> 298<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> 299<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#nameForConstructorParameter(com.fasterxml.jackson.databind.cfg.MapperConfig,%20com.fasterxml.jackson.databind.introspect.AnnotatedParameter,%20java.lang.String)">nameForConstructorParameter</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a><?> config, 300 <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedParameter</a> ctorParam, 301 <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> defaultName)</code> 302<div class="block">Method called to find external name (name used in JSON) for given logical 303 POJO property, 304 as defined by given constructor parameter; typically called when building a deserializer 305 (but not necessarily only then).</div> 306</td> 307</tr> 308<tr class="rowColor"> 309<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> 310<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#nameForField(com.fasterxml.jackson.databind.cfg.MapperConfig,%20com.fasterxml.jackson.databind.introspect.AnnotatedField,%20java.lang.String)">nameForField</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a><?> config, 311 <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedField</a> field, 312 <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> defaultName)</code> 313<div class="block">Method called to find external name (name used in JSON) for given logical 314 POJO property, 315 as defined by given field.</div> 316</td> 317</tr> 318<tr class="altColor"> 319<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> 320<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#nameForGetterMethod(com.fasterxml.jackson.databind.cfg.MapperConfig,%20com.fasterxml.jackson.databind.introspect.AnnotatedMethod,%20java.lang.String)">nameForGetterMethod</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a><?> config, 321 <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> method, 322 <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> defaultName)</code> 323<div class="block">Method called to find external name (name used in JSON) for given logical 324 POJO property, 325 as defined by given getter method; typically called when building a serializer.</div> 326</td> 327</tr> 328<tr class="rowColor"> 329<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> 330<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#nameForSetterMethod(com.fasterxml.jackson.databind.cfg.MapperConfig,%20com.fasterxml.jackson.databind.introspect.AnnotatedMethod,%20java.lang.String)">nameForSetterMethod</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a><?> config, 331 <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> method, 332 <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> defaultName)</code> 333<div class="block">Method called to find external name (name used in JSON) for given logical 334 POJO property, 335 as defined by given setter method; typically called when building a deserializer 336 (but not necessarily only then).</div> 337</td> 338</tr> 339</table> 340<ul class="blockList"> 341<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 342<!-- --> 343</a> 344<h3>Methods inherited from class 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> 345<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> 346</ul> 347</li> 348</ul> 349</li> 350</ul> 351</div> 352<div class="details"> 353<ul class="blockList"> 354<li class="blockList"> 355<!-- ============ FIELD DETAIL =========== --> 356<ul class="blockList"> 357<li class="blockList"><a name="field_detail"> 358<!-- --> 359</a> 360<h3>Field Detail</h3> 361<a name="SNAKE_CASE"> 362<!-- --> 363</a> 364<ul class="blockList"> 365<li class="blockList"> 366<h4>SNAKE_CASE</h4> 367<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a> SNAKE_CASE</pre> 368<div class="block">Naming convention used in languages like C, where words are in lower-case 369 letters, separated by underscores. 370 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> 371<dl><dt><span class="strong">Since:</span></dt> 372 <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></dl> 373</li> 374</ul> 375<a name="UPPER_CAMEL_CASE"> 376<!-- --> 377</a> 378<ul class="blockList"> 379<li class="blockList"> 380<h4>UPPER_CAMEL_CASE</h4> 381<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a> UPPER_CAMEL_CASE</pre> 382<div class="block">Naming convention used in languages like Pascal, where words are capitalized 383 and no separator is used between words. 384 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> 385<dl><dt><span class="strong">Since:</span></dt> 386 <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></dl> 387</li> 388</ul> 389<a name="LOWER_CAMEL_CASE"> 390<!-- --> 391</a> 392<ul class="blockList"> 393<li class="blockList"> 394<h4>LOWER_CAMEL_CASE</h4> 395<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a> LOWER_CAMEL_CASE</pre> 396<div class="block">Naming convention used in Java, where words other than first are capitalized 397 and no separator is used between words. Since this is the native Java naming convention, 398 naming strategy will not do any transformation between names in data (JSON) and 399 POJOS.</div> 400<dl><dt><span class="strong">Since:</span></dt> 401 <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></dl> 402</li> 403</ul> 404<a name="LOWER_CASE"> 405<!-- --> 406</a> 407<ul class="blockList"> 408<li class="blockList"> 409<h4>LOWER_CASE</h4> 410<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a> LOWER_CASE</pre> 411<div class="block">Naming convention in which all words of the logical name are in lower case, and 412 no separator is used between words. 413 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> 414<dl><dt><span class="strong">Since:</span></dt> 415 <dd>2.4</dd></dl> 416</li> 417</ul> 418<a name="KEBAB_CASE"> 419<!-- --> 420</a> 421<ul class="blockList"> 422<li class="blockList"> 423<h4>KEBAB_CASE</h4> 424<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a> KEBAB_CASE</pre> 425<div class="block">Naming convention used in languages like Lisp, where words are in lower-case 426 letters, separated by hyphens. 427 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> 428<dl><dt><span class="strong">Since:</span></dt> 429 <dd>2.7</dd></dl> 430</li> 431</ul> 432<a name="CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES"> 433<!-- --> 434</a> 435<ul class="blockList"> 436<li class="blockList"> 437<h4>CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES</h4> 438<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> 439public static final <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> 440<div class="block"><span class="strong">Deprecated.</span> <i>Since 2.7 use <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#SNAKE_CASE"><code>SNAKE_CASE</code></a> instead;</i></div> 441</li> 442</ul> 443<a name="PASCAL_CASE_TO_CAMEL_CASE"> 444<!-- --> 445</a> 446<ul class="blockListLast"> 447<li class="blockList"> 448<h4>PASCAL_CASE_TO_CAMEL_CASE</h4> 449<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> 450public static final <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a> PASCAL_CASE_TO_CAMEL_CASE</pre> 451<div class="block"><span class="strong">Deprecated.</span> <i>Since 2.7 use <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#UPPER_CAMEL_CASE"><code>UPPER_CAMEL_CASE</code></a> instead;</i></div> 452</li> 453</ul> 454</li> 455</ul> 456<!-- ========= CONSTRUCTOR DETAIL ======== --> 457<ul class="blockList"> 458<li class="blockList"><a name="constructor_detail"> 459<!-- --> 460</a> 461<h3>Constructor Detail</h3> 462<a name="PropertyNamingStrategy()"> 463<!-- --> 464</a> 465<ul class="blockListLast"> 466<li class="blockList"> 467<h4>PropertyNamingStrategy</h4> 468<pre>public PropertyNamingStrategy()</pre> 469</li> 470</ul> 471</li> 472</ul> 473<!-- ============ METHOD DETAIL ========== --> 474<ul class="blockList"> 475<li class="blockList"><a name="method_detail"> 476<!-- --> 477</a> 478<h3>Method Detail</h3> 479<a name="nameForField(com.fasterxml.jackson.databind.cfg.MapperConfig, com.fasterxml.jackson.databind.introspect.AnnotatedField, java.lang.String)"> 480<!-- --> 481</a> 482<ul class="blockList"> 483<li class="blockList"> 484<h4>nameForField</h4> 485<pre>public <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> nameForField(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a><?> config, 486 <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedField</a> field, 487 <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> defaultName)</pre> 488<div class="block">Method called to find external name (name used in JSON) for given logical 489 POJO property, 490 as defined by given field.</div> 491<dl><dt><span class="strong">Parameters:</span></dt><dd><code>config</code> - Configuration in used: either <code>SerializationConfig</code> 492 or <code>DeserializationConfig</code>, depending on whether method is called 493 during serialization or deserialization</dd><dd><code>field</code> - Field used to access property</dd><dd><code>defaultName</code> - Default name that would be used for property in absence of custom strategy</dd> 494<dt><span class="strong">Returns:</span></dt><dd>Logical name to use for property that the field represents</dd></dl> 495</li> 496</ul> 497<a name="nameForGetterMethod(com.fasterxml.jackson.databind.cfg.MapperConfig, com.fasterxml.jackson.databind.introspect.AnnotatedMethod, java.lang.String)"> 498<!-- --> 499</a> 500<ul class="blockList"> 501<li class="blockList"> 502<h4>nameForGetterMethod</h4> 503<pre>public <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> nameForGetterMethod(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a><?> config, 504 <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> method, 505 <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> defaultName)</pre> 506<div class="block">Method called to find external name (name used in JSON) for given logical 507 POJO property, 508 as defined by given getter method; typically called when building a serializer. 509 (but not always -- when using "getter-as-setter", may be called during 510 deserialization)</div> 511<dl><dt><span class="strong">Parameters:</span></dt><dd><code>config</code> - Configuration in used: either <code>SerializationConfig</code> 512 or <code>DeserializationConfig</code>, depending on whether method is called 513 during serialization or deserialization</dd><dd><code>method</code> - Method used to access property.</dd><dd><code>defaultName</code> - Default name that would be used for property in absence of custom strategy</dd> 514<dt><span class="strong">Returns:</span></dt><dd>Logical name to use for property that the method represents</dd></dl> 515</li> 516</ul> 517<a name="nameForSetterMethod(com.fasterxml.jackson.databind.cfg.MapperConfig, com.fasterxml.jackson.databind.introspect.AnnotatedMethod, java.lang.String)"> 518<!-- --> 519</a> 520<ul class="blockList"> 521<li class="blockList"> 522<h4>nameForSetterMethod</h4> 523<pre>public <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> nameForSetterMethod(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a><?> config, 524 <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> method, 525 <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> defaultName)</pre> 526<div class="block">Method called to find external name (name used in JSON) for given logical 527 POJO property, 528 as defined by given setter method; typically called when building a deserializer 529 (but not necessarily only then).</div> 530<dl><dt><span class="strong">Parameters:</span></dt><dd><code>config</code> - Configuration in used: either <code>SerializationConfig</code> 531 or <code>DeserializationConfig</code>, depending on whether method is called 532 during serialization or deserialization</dd><dd><code>method</code> - Method used to access property.</dd><dd><code>defaultName</code> - Default name that would be used for property in absence of custom strategy</dd> 533<dt><span class="strong">Returns:</span></dt><dd>Logical name to use for property that the method represents</dd></dl> 534</li> 535</ul> 536<a name="nameForConstructorParameter(com.fasterxml.jackson.databind.cfg.MapperConfig, com.fasterxml.jackson.databind.introspect.AnnotatedParameter, java.lang.String)"> 537<!-- --> 538</a> 539<ul class="blockListLast"> 540<li class="blockList"> 541<h4>nameForConstructorParameter</h4> 542<pre>public <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> nameForConstructorParameter(<a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a><?> config, 543 <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedParameter</a> ctorParam, 544 <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> defaultName)</pre> 545<div class="block">Method called to find external name (name used in JSON) for given logical 546 POJO property, 547 as defined by given constructor parameter; typically called when building a deserializer 548 (but not necessarily only then).</div> 549<dl><dt><span class="strong">Parameters:</span></dt><dd><code>config</code> - Configuration in used: either <code>SerializationConfig</code> 550 or <code>DeserializationConfig</code>, depending on whether method is called 551 during serialization or deserialization</dd><dd><code>ctorParam</code> - Constructor parameter used to pass property.</dd><dd><code>defaultName</code> - Default name that would be used for property in absence of custom strategy</dd></dl> 552</li> 553</ul> 554</li> 555</ul> 556</li> 557</ul> 558</div> 559</div> 560<!-- ========= END OF CLASS DATA ========= --> 561<!-- ======= START OF BOTTOM NAVBAR ====== --> 562<div class="bottomNav"><a name="navbar_bottom"> 563<!-- --> 564</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 565<!-- --> 566</a> 567<ul class="navList" title="Navigation"> 568<li><a href="../../../../overview-summary.html">Overview</a></li> 569<li><a href="package-summary.html">Package</a></li> 570<li class="navBarCell1Rev">Class</li> 571<li><a href="class-use/PropertyNamingStrategy.html">Use</a></li> 572<li><a href="package-tree.html">Tree</a></li> 573<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 574<li><a href="../../../../index-all.html">Index</a></li> 575<li><a href="../../../../help-doc.html">Help</a></li> 576</ul> 577</div> 578<div class="subNav"> 579<ul class="navList"> 580<li><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 581<li><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.KebabCaseStrategy.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 582</ul> 583<ul class="navList"> 584<li><a href="../../../../index.html?com/fasterxml/jackson/databind/PropertyNamingStrategy.html" target="_top">Frames</a></li> 585<li><a href="PropertyNamingStrategy.html" target="_top">No Frames</a></li> 586</ul> 587<ul class="navList" id="allclasses_navbar_bottom"> 588<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 589</ul> 590<div> 591<script type="text/javascript"><!-- 592 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 593 if(window==top) { 594 allClassesLink.style.display = "block"; 595 } 596 else { 597 allClassesLink.style.display = "none"; 598 } 599 //--> 600</script> 601</div> 602<div> 603<ul class="subNavList"> 604<li>Summary: </li> 605<li><a href="#nested_class_summary">Nested</a> | </li> 606<li><a href="#field_summary">Field</a> | </li> 607<li><a href="#constructor_summary">Constr</a> | </li> 608<li><a href="#method_summary">Method</a></li> 609</ul> 610<ul class="subNavList"> 611<li>Detail: </li> 612<li><a href="#field_detail">Field</a> | </li> 613<li><a href="#constructor_detail">Constr</a> | </li> 614<li><a href="#method_detail">Method</a></li> 615</ul> 616</div> 617<a name="skip-navbar_bottom"> 618<!-- --> 619</a></div> 620<!-- ======== END OF BOTTOM NAVBAR ======= --> 621<p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 622</body> 623</html> 624