1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (1.8.0_162) on Tue Nov 05 19:39:07 PST 2019 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>PropertyNamingStrategy.KebabCaseStrategy (jackson-databind 2.10.0 API)</title> 8<meta name="date" content="2019-11-05"> 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.KebabCaseStrategy (jackson-databind 2.10.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.KebabCaseStrategy.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.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.KebabCaseStrategy.html" target="_top">Frames</a></li> 58<li><a href="PropertyNamingStrategy.KebabCaseStrategy.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.classes.inherited.from.class.com.fasterxml.jackson.databind.PropertyNamingStrategy">Nested</a> | </li> 79<li><a href="#fields.inherited.from.class.com.fasterxml.jackson.databind.PropertyNamingStrategy">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>Field | </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.KebabCaseStrategy" class="title">Class PropertyNamingStrategy.KebabCaseStrategy</h2> 98</div> 99<div class="contentContainer"> 100<ul class="inheritance"> 101<li><a href="https://docs.oracle.com/javase/8/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.KebabCaseStrategy</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="https://docs.oracle.com/javase/8/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.KebabCaseStrategy</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">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 134 as separators, uses hyphens. Naming convention traditionally used for languages 135 like Lisp.</div> 136<dl> 137<dt><span class="simpleTagLabel">Since:</span></dt> 138<dd>2.7</dd> 139<dt><span class="seeLabel">See Also:</span></dt> 140<dd><a href="../../../../serialized-form.html#com.fasterxml.jackson.databind.PropertyNamingStrategy.KebabCaseStrategy">Serialized Form</a></dd> 141</dl> 142</li> 143</ul> 144</div> 145<div class="summary"> 146<ul class="blockList"> 147<li class="blockList"> 148<!-- ======== NESTED CLASS SUMMARY ======== --> 149<ul class="blockList"> 150<li class="blockList"><a name="nested.class.summary"> 151<!-- --> 152</a> 153<h3>Nested Class Summary</h3> 154<ul class="blockList"> 155<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.PropertyNamingStrategy"> 156<!-- --> 157</a> 158<h3>Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.<a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></h3> 159<code><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.KebabCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.KebabCaseStrategy</a>, <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.LowerDotCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.LowerDotCaseStrategy</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>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.SnakeCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.SnakeCaseStrategy</a>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.UpperCamelCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.UpperCamelCaseStrategy</a></code></li> 160</ul> 161</li> 162</ul> 163<!-- =========== FIELD SUMMARY =========== --> 164<ul class="blockList"> 165<li class="blockList"><a name="field.summary"> 166<!-- --> 167</a> 168<h3>Field Summary</h3> 169<ul class="blockList"> 170<li class="blockList"><a name="fields.inherited.from.class.com.fasterxml.jackson.databind.PropertyNamingStrategy"> 171<!-- --> 172</a> 173<h3>Fields inherited from class com.fasterxml.jackson.databind.<a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></h3> 174<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#KEBAB_CASE">KEBAB_CASE</a>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#LOWER_CAMEL_CASE">LOWER_CAMEL_CASE</a>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#LOWER_CASE">LOWER_CASE</a>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#LOWER_DOT_CASE">LOWER_DOT_CASE</a>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#PASCAL_CASE_TO_CAMEL_CASE">PASCAL_CASE_TO_CAMEL_CASE</a>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#SNAKE_CASE">SNAKE_CASE</a>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html#UPPER_CAMEL_CASE">UPPER_CAMEL_CASE</a></code></li> 175</ul> 176</li> 177</ul> 178<!-- ======== CONSTRUCTOR SUMMARY ======== --> 179<ul class="blockList"> 180<li class="blockList"><a name="constructor.summary"> 181<!-- --> 182</a> 183<h3>Constructor Summary</h3> 184<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 185<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 186<tr> 187<th class="colOne" scope="col">Constructor and Description</th> 188</tr> 189<tr class="altColor"> 190<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.KebabCaseStrategy.html#KebabCaseStrategy--">KebabCaseStrategy</a></span>()</code> </td> 191</tr> 192</table> 193</li> 194</ul> 195<!-- ========== METHOD SUMMARY =========== --> 196<ul class="blockList"> 197<li class="blockList"><a name="method.summary"> 198<!-- --> 199</a> 200<h3>Method Summary</h3> 201<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 202<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> 203<tr> 204<th class="colFirst" scope="col">Modifier and Type</th> 205<th class="colLast" scope="col">Method and Description</th> 206</tr> 207<tr id="i0" class="altColor"> 208<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 209<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.KebabCaseStrategy.html#translate-java.lang.String-">translate</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> input)</code> </td> 210</tr> 211</table> 212<ul class="blockList"> 213<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.PropertyNamingStrategy.PropertyNamingStrategyBase"> 214<!-- --> 215</a> 216<h3>Methods inherited from class com.fasterxml.jackson.databind.<a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PropertyNamingStrategyBase</a></h3> 217<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>, <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html#translateLowerCaseWithSeparator-java.lang.String-char-">translateLowerCaseWithSeparator</a></code></li> 218</ul> 219<ul class="blockList"> 220<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 221<!-- --> 222</a> 223<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 224<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 225</ul> 226</li> 227</ul> 228</li> 229</ul> 230</div> 231<div class="details"> 232<ul class="blockList"> 233<li class="blockList"> 234<!-- ========= CONSTRUCTOR DETAIL ======== --> 235<ul class="blockList"> 236<li class="blockList"><a name="constructor.detail"> 237<!-- --> 238</a> 239<h3>Constructor Detail</h3> 240<a name="KebabCaseStrategy--"> 241<!-- --> 242</a> 243<ul class="blockListLast"> 244<li class="blockList"> 245<h4>KebabCaseStrategy</h4> 246<pre>public KebabCaseStrategy()</pre> 247</li> 248</ul> 249</li> 250</ul> 251<!-- ============ METHOD DETAIL ========== --> 252<ul class="blockList"> 253<li class="blockList"><a name="method.detail"> 254<!-- --> 255</a> 256<h3>Method Detail</h3> 257<a name="translate-java.lang.String-"> 258<!-- --> 259</a> 260<ul class="blockListLast"> 261<li class="blockList"> 262<h4>translate</h4> 263<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> translate(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> input)</pre> 264<dl> 265<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 266<dd><code><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html#translate-java.lang.String-">translate</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PropertyNamingStrategyBase</a></code></dd> 267</dl> 268</li> 269</ul> 270</li> 271</ul> 272</li> 273</ul> 274</div> 275</div> 276<!-- ========= END OF CLASS DATA ========= --> 277<!-- ======= START OF BOTTOM NAVBAR ====== --> 278<div class="bottomNav"><a name="navbar.bottom"> 279<!-- --> 280</a> 281<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 282<a name="navbar.bottom.firstrow"> 283<!-- --> 284</a> 285<ul class="navList" title="Navigation"> 286<li><a href="../../../../overview-summary.html">Overview</a></li> 287<li><a href="package-summary.html">Package</a></li> 288<li class="navBarCell1Rev">Class</li> 289<li><a href="class-use/PropertyNamingStrategy.KebabCaseStrategy.html">Use</a></li> 290<li><a href="package-tree.html">Tree</a></li> 291<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 292<li><a href="../../../../index-all.html">Index</a></li> 293<li><a href="../../../../help-doc.html">Help</a></li> 294</ul> 295</div> 296<div class="subNav"> 297<ul class="navList"> 298<li><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev Class</span></a></li> 299<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> 300</ul> 301<ul class="navList"> 302<li><a href="../../../../index.html?com/fasterxml/jackson/databind/PropertyNamingStrategy.KebabCaseStrategy.html" target="_top">Frames</a></li> 303<li><a href="PropertyNamingStrategy.KebabCaseStrategy.html" target="_top">No Frames</a></li> 304</ul> 305<ul class="navList" id="allclasses_navbar_bottom"> 306<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 307</ul> 308<div> 309<script type="text/javascript"><!-- 310 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 311 if(window==top) { 312 allClassesLink.style.display = "block"; 313 } 314 else { 315 allClassesLink.style.display = "none"; 316 } 317 //--> 318</script> 319</div> 320<div> 321<ul class="subNavList"> 322<li>Summary: </li> 323<li><a href="#nested.classes.inherited.from.class.com.fasterxml.jackson.databind.PropertyNamingStrategy">Nested</a> | </li> 324<li><a href="#fields.inherited.from.class.com.fasterxml.jackson.databind.PropertyNamingStrategy">Field</a> | </li> 325<li><a href="#constructor.summary">Constr</a> | </li> 326<li><a href="#method.summary">Method</a></li> 327</ul> 328<ul class="subNavList"> 329<li>Detail: </li> 330<li>Field | </li> 331<li><a href="#constructor.detail">Constr</a> | </li> 332<li><a href="#method.detail">Method</a></li> 333</ul> 334</div> 335<a name="skip.navbar.bottom"> 336<!-- --> 337</a></div> 338<!-- ======== END OF BOTTOM NAVBAR ======= --> 339<p class="legalCopy"><small>Copyright © 2008–2019 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 340</body> 341</html> 342