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