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.PascalCaseStrategy (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.PascalCaseStrategy (jackson-databind 2.6.0 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":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.PascalCaseStrategy.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/PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54<li><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
55</ul>
56<ul class="navList">
57<li><a href="../../../../index.html?com/fasterxml/jackson/databind/PropertyNamingStrategy.PascalCaseStrategy.html" target="_top">Frames</a></li>
58<li><a href="PropertyNamingStrategy.PascalCaseStrategy.html" target="_top">No&nbsp;Frames</a></li>
59</ul>
60<ul class="navList" id="allclasses_navbar_top">
61<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
62</ul>
63<div>
64<script type="text/javascript"><!--
65  allClassesLink = document.getElementById("allclasses_navbar_top");
66  if(window==top) {
67    allClassesLink.style.display = "block";
68  }
69  else {
70    allClassesLink.style.display = "none";
71  }
72  //-->
73</script>
74</div>
75<div>
76<ul class="subNavList">
77<li>Summary:&nbsp;</li>
78<li><a href="#nested.classes.inherited.from.class.com.fasterxml.jackson.databind.PropertyNamingStrategy">Nested</a>&nbsp;|&nbsp;</li>
79<li><a href="#fields.inherited.from.class.com.fasterxml.jackson.databind.PropertyNamingStrategy">Field</a>&nbsp;|&nbsp;</li>
80<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
81<li><a href="#method.summary">Method</a></li>
82</ul>
83<ul class="subNavList">
84<li>Detail:&nbsp;</li>
85<li>Field&nbsp;|&nbsp;</li>
86<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
87<li><a href="#method.detail">Method</a></li>
88</ul>
89</div>
90<a name="skip.navbar.top">
91<!--   -->
92</a></div>
93<!-- ========= END OF TOP NAVBAR ========= -->
94<!-- ======== START OF CLASS DATA ======== -->
95<div class="header">
96<div class="subTitle">com.fasterxml.jackson.databind</div>
97<h2 title="Class PropertyNamingStrategy.PascalCaseStrategy" class="title">Class PropertyNamingStrategy.PascalCaseStrategy</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><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.PropertyNamingStrategy</a></li>
105<li>
106<ul class="inheritance">
107<li><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.PropertyNamingStrategy.PropertyNamingStrategyBase</a></li>
108<li>
109<ul class="inheritance">
110<li>com.fasterxml.jackson.databind.PropertyNamingStrategy.PascalCaseStrategy</li>
111</ul>
112</li>
113</ul>
114</li>
115</ul>
116</li>
117</ul>
118<div class="description">
119<ul class="blockList">
120<li class="blockList">
121<dl>
122<dt>All Implemented Interfaces:</dt>
123<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>
124</dl>
125<dl>
126<dt>Enclosing class:</dt>
127<dd><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></dd>
128</dl>
129<hr>
130<br>
131<pre>public static class <span class="typeNameLabel">PropertyNamingStrategy.PascalCaseStrategy</span>
132extends <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PropertyNamingStrategyBase</a></pre>
133<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
134 property names to PascalCase JSON element names (i.e., with a capital
135 first letter).  In particular, the following translations are applied by
136 this PropertyNamingStrategy.
137
138 <ul><li>The first lower-case letter in the Java property name is translated
139 into its equivalent upper-case representation.</li></ul>
140
141 This rules result in the following example translation from
142 Java property names to JSON element names.
143 <ul><li>&quot;userName&quot; is translated to &quot;UserName&quot;</li></ul></div>
144<dl>
145<dt><span class="simpleTagLabel">Since:</span></dt>
146<dd>2.1</dd>
147<dt><span class="seeLabel">See Also:</span></dt>
148<dd><a href="../../../../serialized-form.html#com.fasterxml.jackson.databind.PropertyNamingStrategy.PascalCaseStrategy">Serialized Form</a></dd>
149</dl>
150</li>
151</ul>
152</div>
153<div class="summary">
154<ul class="blockList">
155<li class="blockList">
156<!-- ======== NESTED CLASS SUMMARY ======== -->
157<ul class="blockList">
158<li class="blockList"><a name="nested.class.summary">
159<!--   -->
160</a>
161<h3>Nested Class Summary</h3>
162<ul class="blockList">
163<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.PropertyNamingStrategy">
164<!--   -->
165</a>
166<h3>Nested classes/interfaces inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></h3>
167<code><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.LowerCaseStrategy</a>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy</a>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PascalCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PascalCaseStrategy</a>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PropertyNamingStrategyBase</a></code></li>
168</ul>
169</li>
170</ul>
171<!-- =========== FIELD SUMMARY =========== -->
172<ul class="blockList">
173<li class="blockList"><a name="field.summary">
174<!--   -->
175</a>
176<h3>Field Summary</h3>
177<ul class="blockList">
178<li class="blockList"><a name="fields.inherited.from.class.com.fasterxml.jackson.databind.PropertyNamingStrategy">
179<!--   -->
180</a>
181<h3>Fields inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></h3>
182<code><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES">CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES</a>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#LOWER_CASE">LOWER_CASE</a>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#PASCAL_CASE_TO_CAMEL_CASE">PASCAL_CASE_TO_CAMEL_CASE</a></code></li>
183</ul>
184</li>
185</ul>
186<!-- ======== CONSTRUCTOR SUMMARY ======== -->
187<ul class="blockList">
188<li class="blockList"><a name="constructor.summary">
189<!--   -->
190</a>
191<h3>Constructor Summary</h3>
192<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
193<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
194<tr>
195<th class="colOne" scope="col">Constructor and Description</th>
196</tr>
197<tr class="altColor">
198<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PascalCaseStrategy.html#PascalCaseStrategy--">PascalCaseStrategy</a></span>()</code>&nbsp;</td>
199</tr>
200</table>
201</li>
202</ul>
203<!-- ========== METHOD SUMMARY =========== -->
204<ul class="blockList">
205<li class="blockList"><a name="method.summary">
206<!--   -->
207</a>
208<h3>Method Summary</h3>
209<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
210<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
211<tr>
212<th class="colFirst" scope="col">Modifier and Type</th>
213<th class="colLast" scope="col">Method and Description</th>
214</tr>
215<tr id="i0" class="altColor">
216<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>
217<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PascalCaseStrategy.html#translate-java.lang.String-">translate</a></span>(<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>&nbsp;input)</code>
218<div class="block">Converts camelCase to PascalCase
219
220 For example, "userName" would be converted to
221 "UserName".</div>
222</td>
223</tr>
224</table>
225<ul class="blockList">
226<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.PropertyNamingStrategy.PropertyNamingStrategyBase">
227<!--   -->
228</a>
229<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PropertyNamingStrategyBase</a></h3>
230<code><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html#nameForConstructorParameter-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedParameter-java.lang.String-">nameForConstructorParameter</a>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html#nameForField-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedField-java.lang.String-">nameForField</a>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html#nameForGetterMethod-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-">nameForGetterMethod</a>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html#nameForSetterMethod-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedMethod-java.lang.String-">nameForSetterMethod</a></code></li>
231</ul>
232<ul class="blockList">
233<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
234<!--   -->
235</a>
236<h3>Methods inherited from class&nbsp;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>
237<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>
238</ul>
239</li>
240</ul>
241</li>
242</ul>
243</div>
244<div class="details">
245<ul class="blockList">
246<li class="blockList">
247<!-- ========= CONSTRUCTOR DETAIL ======== -->
248<ul class="blockList">
249<li class="blockList"><a name="constructor.detail">
250<!--   -->
251</a>
252<h3>Constructor Detail</h3>
253<a name="PascalCaseStrategy--">
254<!--   -->
255</a>
256<ul class="blockListLast">
257<li class="blockList">
258<h4>PascalCaseStrategy</h4>
259<pre>public&nbsp;PascalCaseStrategy()</pre>
260</li>
261</ul>
262</li>
263</ul>
264<!-- ============ METHOD DETAIL ========== -->
265<ul class="blockList">
266<li class="blockList"><a name="method.detail">
267<!--   -->
268</a>
269<h3>Method Detail</h3>
270<a name="translate-java.lang.String-">
271<!--   -->
272</a>
273<ul class="blockListLast">
274<li class="blockList">
275<h4>translate</h4>
276<pre>public&nbsp;<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>&nbsp;translate(<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>&nbsp;input)</pre>
277<div class="block">Converts camelCase to PascalCase
278
279 For example, "userName" would be converted to
280 "UserName".</div>
281<dl>
282<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
283<dd><code><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html#translate-java.lang.String-">translate</a></code>&nbsp;in class&nbsp;<code><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PropertyNamingStrategyBase</a></code></dd>
284<dt><span class="paramLabel">Parameters:</span></dt>
285<dd><code>input</code> - formatted as camelCase string</dd>
286<dt><span class="returnLabel">Returns:</span></dt>
287<dd>input converted to PascalCase format</dd>
288</dl>
289</li>
290</ul>
291</li>
292</ul>
293</li>
294</ul>
295</div>
296</div>
297<!-- ========= END OF CLASS DATA ========= -->
298<!-- ======= START OF BOTTOM NAVBAR ====== -->
299<div class="bottomNav"><a name="navbar.bottom">
300<!--   -->
301</a>
302<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
303<a name="navbar.bottom.firstrow">
304<!--   -->
305</a>
306<ul class="navList" title="Navigation">
307<li><a href="../../../../overview-summary.html">Overview</a></li>
308<li><a href="package-summary.html">Package</a></li>
309<li class="navBarCell1Rev">Class</li>
310<li><a href="class-use/PropertyNamingStrategy.PascalCaseStrategy.html">Use</a></li>
311<li><a href="package-tree.html">Tree</a></li>
312<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
313<li><a href="../../../../index-all.html">Index</a></li>
314<li><a href="../../../../help-doc.html">Help</a></li>
315</ul>
316</div>
317<div class="subNav">
318<ul class="navList">
319<li><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
320<li><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
321</ul>
322<ul class="navList">
323<li><a href="../../../../index.html?com/fasterxml/jackson/databind/PropertyNamingStrategy.PascalCaseStrategy.html" target="_top">Frames</a></li>
324<li><a href="PropertyNamingStrategy.PascalCaseStrategy.html" target="_top">No&nbsp;Frames</a></li>
325</ul>
326<ul class="navList" id="allclasses_navbar_bottom">
327<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
328</ul>
329<div>
330<script type="text/javascript"><!--
331  allClassesLink = document.getElementById("allclasses_navbar_bottom");
332  if(window==top) {
333    allClassesLink.style.display = "block";
334  }
335  else {
336    allClassesLink.style.display = "none";
337  }
338  //-->
339</script>
340</div>
341<div>
342<ul class="subNavList">
343<li>Summary:&nbsp;</li>
344<li><a href="#nested.classes.inherited.from.class.com.fasterxml.jackson.databind.PropertyNamingStrategy">Nested</a>&nbsp;|&nbsp;</li>
345<li><a href="#fields.inherited.from.class.com.fasterxml.jackson.databind.PropertyNamingStrategy">Field</a>&nbsp;|&nbsp;</li>
346<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
347<li><a href="#method.summary">Method</a></li>
348</ul>
349<ul class="subNavList">
350<li>Detail:&nbsp;</li>
351<li>Field&nbsp;|&nbsp;</li>
352<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
353<li><a href="#method.detail">Method</a></li>
354</ul>
355</div>
356<a name="skip.navbar.bottom">
357<!--   -->
358</a></div>
359<!-- ======== END OF BOTTOM NAVBAR ======= -->
360<p class="legalCopy"><small>Copyright &#169; 2014&#x2013;2015 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
361</body>
362</html>
363