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) on Sun Jul 19 11:36:50 PDT 2015 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>PropertyNamingStrategy (jackson-databind 2.6.0 API)</title> 8<meta name="date" content="2015-07-19"> 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.6.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 Class</span></a></li> 54<li><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseStrategy.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next 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 Frames</a></li> 59</ul> 60<ul class="navList" id="allclasses_navbar_top"> 61<li><a href="../../../../allclasses-noframe.html">All 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: </li> 78<li><a href="#nested.class.summary">Nested</a> | </li> 79<li><a href="#field.summary">Field</a> | </li> 80<li><a href="#constructor.summary">Constr</a> | </li> 81<li><a href="#method.summary">Method</a></li> 82</ul> 83<ul class="subNavList"> 84<li>Detail: </li> 85<li><a href="#field.detail">Field</a> | </li> 86<li><a href="#constructor.detail">Constr</a> | </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/6/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/6/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 abstract class <span class="typeNameLabel">PropertyNamingStrategy</span> 122extends <a href="http://docs.oracle.com/javase/6/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/6/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 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"> </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 </code></td> 167<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> 168<div class="block">Simple strategy where external name simply only uses lower-case characters, 169 and no separators.</div> 170</td> 171</tr> 172<tr class="rowColor"> 173<td class="colFirst"><code>static class </code></td> 174<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> 175<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 176 property names to lower case JSON element names, separated by 177 underscores.</div> 178</td> 179</tr> 180<tr class="altColor"> 181<td class="colFirst"><code>static class </code></td> 182<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> 183<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 184 property names to PascalCase JSON element names (i.e., with a capital 185 first letter).</div> 186</td> 187</tr> 188<tr class="rowColor"> 189<td class="colFirst"><code>static class </code></td> 190<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> </td> 191</tr> 192</table> 193</li> 194</ul> 195<!-- =========== FIELD SUMMARY =========== --> 196<ul class="blockList"> 197<li class="blockList"><a name="field.summary"> 198<!-- --> 199</a> 200<h3>Field Summary</h3> 201<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 202<caption><span>Fields</span><span class="tabEnd"> </span></caption> 203<tr> 204<th class="colFirst" scope="col">Modifier and Type</th> 205<th class="colLast" scope="col">Field and Description</th> 206</tr> 207<tr class="altColor"> 208<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td> 209<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> 210<div class="block">See <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy</code></a> for details.</div> 211</td> 212</tr> 213<tr class="rowColor"> 214<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td> 215<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#LOWER_CASE">LOWER_CASE</a></span></code> 216<div class="block">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> 217</td> 218</tr> 219<tr class="altColor"> 220<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></code></td> 221<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> 222<div class="block">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> 223</td> 224</tr> 225</table> 226</li> 227</ul> 228<!-- ======== CONSTRUCTOR SUMMARY ======== --> 229<ul class="blockList"> 230<li class="blockList"><a name="constructor.summary"> 231<!-- --> 232</a> 233<h3>Constructor Summary</h3> 234<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 235<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 236<tr> 237<th class="colOne" scope="col">Constructor and Description</th> 238</tr> 239<tr class="altColor"> 240<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#PropertyNamingStrategy--">PropertyNamingStrategy</a></span>()</code> </td> 241</tr> 242</table> 243</li> 244</ul> 245<!-- ========== METHOD SUMMARY =========== --> 246<ul class="blockList"> 247<li class="blockList"><a name="method.summary"> 248<!-- --> 249</a> 250<h3>Method Summary</h3> 251<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 252<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> 253<tr> 254<th class="colFirst" scope="col">Modifier and Type</th> 255<th class="colLast" scope="col">Method and Description</th> 256</tr> 257<tr id="i0" class="altColor"> 258<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 259<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><?> config, 260 <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedParameter</a> ctorParam, 261 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultName)</code> 262<div class="block">Method called to find external name (name used in JSON) for given logical 263 POJO property, 264 as defined by given constructor parameter; typically called when building a deserializer 265 (but not necessarily only then).</div> 266</td> 267</tr> 268<tr id="i1" class="rowColor"> 269<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 270<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><?> config, 271 <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedField</a> field, 272 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultName)</code> 273<div class="block">Method called to find external name (name used in JSON) for given logical 274 POJO property, 275 as defined by given field.</div> 276</td> 277</tr> 278<tr id="i2" class="altColor"> 279<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 280<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><?> config, 281 <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> method, 282 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultName)</code> 283<div class="block">Method called to find external name (name used in JSON) for given logical 284 POJO property, 285 as defined by given getter method; typically called when building a serializer.</div> 286</td> 287</tr> 288<tr id="i3" class="rowColor"> 289<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 290<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><?> config, 291 <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> method, 292 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultName)</code> 293<div class="block">Method called to find external name (name used in JSON) for given logical 294 POJO property, 295 as defined by given setter method; typically called when building a deserializer 296 (but not necessarily only then).</div> 297</td> 298</tr> 299</table> 300<ul class="blockList"> 301<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 302<!-- --> 303</a> 304<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 305<code><a href="http://docs.oracle.com/javase/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 306</ul> 307</li> 308</ul> 309</li> 310</ul> 311</div> 312<div class="details"> 313<ul class="blockList"> 314<li class="blockList"> 315<!-- ============ FIELD DETAIL =========== --> 316<ul class="blockList"> 317<li class="blockList"><a name="field.detail"> 318<!-- --> 319</a> 320<h3>Field Detail</h3> 321<a name="CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES"> 322<!-- --> 323</a> 324<ul class="blockList"> 325<li class="blockList"> 326<h4>CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES</h4> 327<pre>public 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> 328<div class="block">See <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy</code></a> for details.</div> 329</li> 330</ul> 331<a name="PASCAL_CASE_TO_CAMEL_CASE"> 332<!-- --> 333</a> 334<ul class="blockList"> 335<li class="blockList"> 336<h4>PASCAL_CASE_TO_CAMEL_CASE</h4> 337<pre>public 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> 338<div class="block">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> 339<dl> 340<dt><span class="simpleTagLabel">Since:</span></dt> 341<dd>2.1</dd> 342</dl> 343</li> 344</ul> 345<a name="LOWER_CASE"> 346<!-- --> 347</a> 348<ul class="blockListLast"> 349<li class="blockList"> 350<h4>LOWER_CASE</h4> 351<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a> LOWER_CASE</pre> 352<div class="block">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> 353<dl> 354<dt><span class="simpleTagLabel">Since:</span></dt> 355<dd>2.4</dd> 356</dl> 357</li> 358</ul> 359</li> 360</ul> 361<!-- ========= CONSTRUCTOR DETAIL ======== --> 362<ul class="blockList"> 363<li class="blockList"><a name="constructor.detail"> 364<!-- --> 365</a> 366<h3>Constructor Detail</h3> 367<a name="PropertyNamingStrategy--"> 368<!-- --> 369</a> 370<ul class="blockListLast"> 371<li class="blockList"> 372<h4>PropertyNamingStrategy</h4> 373<pre>public PropertyNamingStrategy()</pre> 374</li> 375</ul> 376</li> 377</ul> 378<!-- ============ METHOD DETAIL ========== --> 379<ul class="blockList"> 380<li class="blockList"><a name="method.detail"> 381<!-- --> 382</a> 383<h3>Method Detail</h3> 384<a name="nameForField-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedField-java.lang.String-"> 385<!-- --> 386</a> 387<ul class="blockList"> 388<li class="blockList"> 389<h4>nameForField</h4> 390<pre>public <a href="http://docs.oracle.com/javase/6/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, 391 <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedField.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedField</a> field, 392 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultName)</pre> 393<div class="block">Method called to find external name (name used in JSON) for given logical 394 POJO property, 395 as defined by given field.</div> 396<dl> 397<dt><span class="paramLabel">Parameters:</span></dt> 398<dd><code>config</code> - Configuration in used: either <code>SerializationConfig</code> 399 or <code>DeserializationConfig</code>, depending on whether method is called 400 during serialization or deserialization</dd> 401<dd><code>field</code> - Field used to access property</dd> 402<dd><code>defaultName</code> - Default name that would be used for property in absence of custom strategy</dd> 403<dt><span class="returnLabel">Returns:</span></dt> 404<dd>Logical name to use for property that the field represents</dd> 405</dl> 406</li> 407</ul> 408<a name="nameForGetterMethod-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-"> 409<!-- --> 410</a> 411<ul class="blockList"> 412<li class="blockList"> 413<h4>nameForGetterMethod</h4> 414<pre>public <a href="http://docs.oracle.com/javase/6/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, 415 <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> method, 416 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultName)</pre> 417<div class="block">Method called to find external name (name used in JSON) for given logical 418 POJO property, 419 as defined by given getter method; typically called when building a serializer. 420 (but not always -- when using "getter-as-setter", may be called during 421 deserialization)</div> 422<dl> 423<dt><span class="paramLabel">Parameters:</span></dt> 424<dd><code>config</code> - Configuration in used: either <code>SerializationConfig</code> 425 or <code>DeserializationConfig</code>, depending on whether method is called 426 during serialization or deserialization</dd> 427<dd><code>method</code> - Method used to access property.</dd> 428<dd><code>defaultName</code> - Default name that would be used for property in absence of custom strategy</dd> 429<dt><span class="returnLabel">Returns:</span></dt> 430<dd>Logical name to use for property that the method represents</dd> 431</dl> 432</li> 433</ul> 434<a name="nameForSetterMethod-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-"> 435<!-- --> 436</a> 437<ul class="blockList"> 438<li class="blockList"> 439<h4>nameForSetterMethod</h4> 440<pre>public <a href="http://docs.oracle.com/javase/6/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, 441 <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMethod.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMethod</a> method, 442 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultName)</pre> 443<div class="block">Method called to find external name (name used in JSON) for given logical 444 POJO property, 445 as defined by given setter method; typically called when building a deserializer 446 (but not necessarily only then).</div> 447<dl> 448<dt><span class="paramLabel">Parameters:</span></dt> 449<dd><code>config</code> - Configuration in used: either <code>SerializationConfig</code> 450 or <code>DeserializationConfig</code>, depending on whether method is called 451 during serialization or deserialization</dd> 452<dd><code>method</code> - Method used to access property.</dd> 453<dd><code>defaultName</code> - Default name that would be used for property in absence of custom strategy</dd> 454<dt><span class="returnLabel">Returns:</span></dt> 455<dd>Logical name to use for property that the method represents</dd> 456</dl> 457</li> 458</ul> 459<a name="nameForConstructorParameter-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedParameter-java.lang.String-"> 460<!-- --> 461</a> 462<ul class="blockListLast"> 463<li class="blockList"> 464<h4>nameForConstructorParameter</h4> 465<pre>public <a href="http://docs.oracle.com/javase/6/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, 466 <a href="../../../../com/fasterxml/jackson/databind/introspect/AnnotatedParameter.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedParameter</a> ctorParam, 467 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultName)</pre> 468<div class="block">Method called to find external name (name used in JSON) for given logical 469 POJO property, 470 as defined by given constructor parameter; typically called when building a deserializer 471 (but not necessarily only then).</div> 472<dl> 473<dt><span class="paramLabel">Parameters:</span></dt> 474<dd><code>config</code> - Configuration in used: either <code>SerializationConfig</code> 475 or <code>DeserializationConfig</code>, depending on whether method is called 476 during serialization or deserialization</dd> 477<dd><code>ctorParam</code> - Constructor parameter used to pass property.</dd> 478<dd><code>defaultName</code> - Default name that would be used for property in absence of custom strategy</dd> 479</dl> 480</li> 481</ul> 482</li> 483</ul> 484</li> 485</ul> 486</div> 487</div> 488<!-- ========= END OF CLASS DATA ========= --> 489<!-- ======= START OF BOTTOM NAVBAR ====== --> 490<div class="bottomNav"><a name="navbar.bottom"> 491<!-- --> 492</a> 493<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 494<a name="navbar.bottom.firstrow"> 495<!-- --> 496</a> 497<ul class="navList" title="Navigation"> 498<li><a href="../../../../overview-summary.html">Overview</a></li> 499<li><a href="package-summary.html">Package</a></li> 500<li class="navBarCell1Rev">Class</li> 501<li><a href="class-use/PropertyNamingStrategy.html">Use</a></li> 502<li><a href="package-tree.html">Tree</a></li> 503<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 504<li><a href="../../../../index-all.html">Index</a></li> 505<li><a href="../../../../help-doc.html">Help</a></li> 506</ul> 507</div> 508<div class="subNav"> 509<ul class="navList"> 510<li><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev Class</span></a></li> 511<li><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseStrategy.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next Class</span></a></li> 512</ul> 513<ul class="navList"> 514<li><a href="../../../../index.html?com/fasterxml/jackson/databind/PropertyNamingStrategy.html" target="_top">Frames</a></li> 515<li><a href="PropertyNamingStrategy.html" target="_top">No Frames</a></li> 516</ul> 517<ul class="navList" id="allclasses_navbar_bottom"> 518<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 519</ul> 520<div> 521<script type="text/javascript"><!-- 522 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 523 if(window==top) { 524 allClassesLink.style.display = "block"; 525 } 526 else { 527 allClassesLink.style.display = "none"; 528 } 529 //--> 530</script> 531</div> 532<div> 533<ul class="subNavList"> 534<li>Summary: </li> 535<li><a href="#nested.class.summary">Nested</a> | </li> 536<li><a href="#field.summary">Field</a> | </li> 537<li><a href="#constructor.summary">Constr</a> | </li> 538<li><a href="#method.summary">Method</a></li> 539</ul> 540<ul class="subNavList"> 541<li>Detail: </li> 542<li><a href="#field.detail">Field</a> | </li> 543<li><a href="#constructor.detail">Constr</a> | </li> 544<li><a href="#method.detail">Method</a></li> 545</ul> 546</div> 547<a name="skip.navbar.bottom"> 548<!-- --> 549</a></div> 550<!-- ======== END OF BOTTOM NAVBAR ======= --> 551<p class="legalCopy"><small>Copyright © 2014–2015 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 552</body> 553</html> 554