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_55) on Thu Jan 01 15:31:15 PST 2015 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>JsonFormat.Value (Jackson-annotations 2.5.0 API)</title> 8<meta name="date" content="2015-01-01"> 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="JsonFormat.Value (Jackson-annotations 2.5.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="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li> 29<li class="navBarCell1Rev">Class</li> 30<li><a href="class-use/JsonFormat.Value.html">Use</a></li> 31<li><a href="package-tree.html">Tree</a></li> 32<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 33<li><a href="../../../../index-all.html">Index</a></li> 34<li><a href="../../../../help-doc.html">Help</a></li> 35</ul> 36</div> 37<div class="subNav"> 38<ul class="navList"> 39<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation"><span class="strong">Prev Class</span></a></li> 40<li><a href="../../../../com/fasterxml/jackson/annotation/JsonGetter.html" title="annotation in com.fasterxml.jackson.annotation"><span class="strong">Next Class</span></a></li> 41</ul> 42<ul class="navList"> 43<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/JsonFormat.Value.html" target="_top">Frames</a></li> 44<li><a href="JsonFormat.Value.html" target="_top">No Frames</a></li> 45</ul> 46<ul class="navList" id="allclasses_navbar_top"> 47<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 48</ul> 49<div> 50<script type="text/javascript"><!-- 51 allClassesLink = document.getElementById("allclasses_navbar_top"); 52 if(window==top) { 53 allClassesLink.style.display = "block"; 54 } 55 else { 56 allClassesLink.style.display = "none"; 57 } 58 //--> 59</script> 60</div> 61<div> 62<ul class="subNavList"> 63<li>Summary: </li> 64<li>Nested | </li> 65<li>Field | </li> 66<li><a href="#constructor_summary">Constr</a> | </li> 67<li><a href="#method_summary">Method</a></li> 68</ul> 69<ul class="subNavList"> 70<li>Detail: </li> 71<li>Field | </li> 72<li><a href="#constructor_detail">Constr</a> | </li> 73<li><a href="#method_detail">Method</a></li> 74</ul> 75</div> 76<a name="skip-navbar_top"> 77<!-- --> 78</a></div> 79<!-- ========= END OF TOP NAVBAR ========= --> 80<!-- ======== START OF CLASS DATA ======== --> 81<div class="header"> 82<div class="subTitle">com.fasterxml.jackson.annotation</div> 83<h2 title="Class JsonFormat.Value" class="title">Class JsonFormat.Value</h2> 84</div> 85<div class="contentContainer"> 86<ul class="inheritance"> 87<li><a href="http://download.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> 88<li> 89<ul class="inheritance"> 90<li>com.fasterxml.jackson.annotation.JsonFormat.Value</li> 91</ul> 92</li> 93</ul> 94<div class="description"> 95<ul class="blockList"> 96<li class="blockList"> 97<dl> 98<dt>Enclosing class:</dt> 99<dd><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation">JsonFormat</a></dd> 100</dl> 101<hr> 102<br> 103<pre>public static class <span class="strong">JsonFormat.Value</span> 104extends <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> 105<div class="block">Helper class used to contain information from a single <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation"><code>JsonFormat</code></a> 106 annotation.</div> 107</li> 108</ul> 109</div> 110<div class="summary"> 111<ul class="blockList"> 112<li class="blockList"> 113<!-- ======== CONSTRUCTOR SUMMARY ======== --> 114<ul class="blockList"> 115<li class="blockList"><a name="constructor_summary"> 116<!-- --> 117</a> 118<h3>Constructor Summary</h3> 119<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 120<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 121<tr> 122<th class="colOne" scope="col">Constructor and Description</th> 123</tr> 124<tr class="altColor"> 125<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#JsonFormat.Value()">JsonFormat.Value</a></strong>()</code> </td> 126</tr> 127<tr class="rowColor"> 128<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#JsonFormat.Value(com.fasterxml.jackson.annotation.JsonFormat)">JsonFormat.Value</a></strong>(<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation">JsonFormat</a> ann)</code> </td> 129</tr> 130<tr class="altColor"> 131<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#JsonFormat.Value(java.lang.String, com.fasterxml.jackson.annotation.JsonFormat.Shape, java.util.Locale, java.lang.String, java.util.TimeZone)">JsonFormat.Value</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> p, 132 <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> sh, 133 <a href="http://download.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> l, 134 <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tzStr, 135 <a href="http://download.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> tz)</code> </td> 136</tr> 137<tr class="rowColor"> 138<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#JsonFormat.Value(java.lang.String, com.fasterxml.jackson.annotation.JsonFormat.Shape, java.util.Locale, java.util.TimeZone)">JsonFormat.Value</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> p, 139 <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> sh, 140 <a href="http://download.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> l, 141 <a href="http://download.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> tz)</code> </td> 142</tr> 143<tr class="altColor"> 144<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#JsonFormat.Value(java.lang.String, com.fasterxml.jackson.annotation.JsonFormat.Shape, java.lang.String, java.lang.String)">JsonFormat.Value</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> p, 145 <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> sh, 146 <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> localeStr, 147 <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tzStr)</code> </td> 148</tr> 149</table> 150</li> 151</ul> 152<!-- ========== METHOD SUMMARY =========== --> 153<ul class="blockList"> 154<li class="blockList"><a name="method_summary"> 155<!-- --> 156</a> 157<h3>Method Summary</h3> 158<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 159<caption><span>Methods</span><span class="tabEnd"> </span></caption> 160<tr> 161<th class="colFirst" scope="col">Modifier and Type</th> 162<th class="colLast" scope="col">Method and Description</th> 163</tr> 164<tr class="altColor"> 165<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a></code></td> 166<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#getLocale()">getLocale</a></strong>()</code> </td> 167</tr> 168<tr class="rowColor"> 169<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 170<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#getPattern()">getPattern</a></strong>()</code> </td> 171</tr> 172<tr class="altColor"> 173<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a></code></td> 174<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#getShape()">getShape</a></strong>()</code> </td> 175</tr> 176<tr class="rowColor"> 177<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a></code></td> 178<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#getTimeZone()">getTimeZone</a></strong>()</code> </td> 179</tr> 180<tr class="altColor"> 181<td class="colFirst"><code>boolean</code></td> 182<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#hasLocale()">hasLocale</a></strong>()</code> </td> 183</tr> 184<tr class="rowColor"> 185<td class="colFirst"><code>boolean</code></td> 186<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#hasPattern()">hasPattern</a></strong>()</code> </td> 187</tr> 188<tr class="altColor"> 189<td class="colFirst"><code>boolean</code></td> 190<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#hasShape()">hasShape</a></strong>()</code> </td> 191</tr> 192<tr class="rowColor"> 193<td class="colFirst"><code>boolean</code></td> 194<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#hasTimeZone()">hasTimeZone</a></strong>()</code> </td> 195</tr> 196<tr class="altColor"> 197<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 198<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#timeZoneAsString()">timeZoneAsString</a></strong>()</code> 199<div class="block">Alternate access (compared to <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#getTimeZone()"><code>getTimeZone()</code></a>) which is useful 200 when caller just wants time zone id to convert, but not as JDK 201 provided <a href="http://download.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util"><code>TimeZone</code></a></div> 202</td> 203</tr> 204<tr class="rowColor"> 205<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html" title="class in com.fasterxml.jackson.annotation">JsonFormat.Value</a></code></td> 206<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#withLocale(java.util.Locale)">withLocale</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> l)</code> </td> 207</tr> 208<tr class="altColor"> 209<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html" title="class in com.fasterxml.jackson.annotation">JsonFormat.Value</a></code></td> 210<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#withPattern(java.lang.String)">withPattern</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> p)</code> </td> 211</tr> 212<tr class="rowColor"> 213<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html" title="class in com.fasterxml.jackson.annotation">JsonFormat.Value</a></code></td> 214<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#withShape(com.fasterxml.jackson.annotation.JsonFormat.Shape)">withShape</a></strong>(<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> s)</code> </td> 215</tr> 216<tr class="altColor"> 217<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html" title="class in com.fasterxml.jackson.annotation">JsonFormat.Value</a></code></td> 218<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#withTimeZone(java.util.TimeZone)">withTimeZone</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> tz)</code> </td> 219</tr> 220</table> 221<ul class="blockList"> 222<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 223<!-- --> 224</a> 225<h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 226<code><a href="http://download.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://download.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://download.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://download.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://download.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://download.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://download.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://download.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://download.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://download.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://download.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> 227</ul> 228</li> 229</ul> 230</li> 231</ul> 232</div> 233<div class="details"> 234<ul class="blockList"> 235<li class="blockList"> 236<!-- ========= CONSTRUCTOR DETAIL ======== --> 237<ul class="blockList"> 238<li class="blockList"><a name="constructor_detail"> 239<!-- --> 240</a> 241<h3>Constructor Detail</h3> 242<a name="JsonFormat.Value()"> 243<!-- --> 244</a> 245<ul class="blockList"> 246<li class="blockList"> 247<h4>JsonFormat.Value</h4> 248<pre>public JsonFormat.Value()</pre> 249</li> 250</ul> 251<a name="JsonFormat.Value(com.fasterxml.jackson.annotation.JsonFormat)"> 252<!-- --> 253</a> 254<ul class="blockList"> 255<li class="blockList"> 256<h4>JsonFormat.Value</h4> 257<pre>public JsonFormat.Value(<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation">JsonFormat</a> ann)</pre> 258</li> 259</ul> 260<a name="JsonFormat.Value(java.lang.String, com.fasterxml.jackson.annotation.JsonFormat.Shape, java.lang.String, java.lang.String)"> 261<!-- --> 262</a> 263<ul class="blockList"> 264<li class="blockList"> 265<h4>JsonFormat.Value</h4> 266<pre>public JsonFormat.Value(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> p, 267 <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> sh, 268 <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> localeStr, 269 <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tzStr)</pre> 270</li> 271</ul> 272<a name="JsonFormat.Value(java.lang.String, com.fasterxml.jackson.annotation.JsonFormat.Shape, java.util.Locale, java.util.TimeZone)"> 273<!-- --> 274</a> 275<ul class="blockList"> 276<li class="blockList"> 277<h4>JsonFormat.Value</h4> 278<pre>public JsonFormat.Value(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> p, 279 <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> sh, 280 <a href="http://download.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> l, 281 <a href="http://download.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> tz)</pre> 282<dl><dt><span class="strong">Since:</span></dt> 283 <dd>2.1</dd></dl> 284</li> 285</ul> 286<a name="JsonFormat.Value(java.lang.String, com.fasterxml.jackson.annotation.JsonFormat.Shape, java.util.Locale, java.lang.String, java.util.TimeZone)"> 287<!-- --> 288</a> 289<ul class="blockListLast"> 290<li class="blockList"> 291<h4>JsonFormat.Value</h4> 292<pre>public JsonFormat.Value(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> p, 293 <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> sh, 294 <a href="http://download.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> l, 295 <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> tzStr, 296 <a href="http://download.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> tz)</pre> 297<dl><dt><span class="strong">Since:</span></dt> 298 <dd>2.4</dd></dl> 299</li> 300</ul> 301</li> 302</ul> 303<!-- ============ METHOD DETAIL ========== --> 304<ul class="blockList"> 305<li class="blockList"><a name="method_detail"> 306<!-- --> 307</a> 308<h3>Method Detail</h3> 309<a name="withPattern(java.lang.String)"> 310<!-- --> 311</a> 312<ul class="blockList"> 313<li class="blockList"> 314<h4>withPattern</h4> 315<pre>public <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html" title="class in com.fasterxml.jackson.annotation">JsonFormat.Value</a> withPattern(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> p)</pre> 316<dl><dt><span class="strong">Since:</span></dt> 317 <dd>2.1</dd></dl> 318</li> 319</ul> 320<a name="withShape(com.fasterxml.jackson.annotation.JsonFormat.Shape)"> 321<!-- --> 322</a> 323<ul class="blockList"> 324<li class="blockList"> 325<h4>withShape</h4> 326<pre>public <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html" title="class in com.fasterxml.jackson.annotation">JsonFormat.Value</a> withShape(<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> s)</pre> 327<dl><dt><span class="strong">Since:</span></dt> 328 <dd>2.1</dd></dl> 329</li> 330</ul> 331<a name="withLocale(java.util.Locale)"> 332<!-- --> 333</a> 334<ul class="blockList"> 335<li class="blockList"> 336<h4>withLocale</h4> 337<pre>public <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html" title="class in com.fasterxml.jackson.annotation">JsonFormat.Value</a> withLocale(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> l)</pre> 338<dl><dt><span class="strong">Since:</span></dt> 339 <dd>2.1</dd></dl> 340</li> 341</ul> 342<a name="withTimeZone(java.util.TimeZone)"> 343<!-- --> 344</a> 345<ul class="blockList"> 346<li class="blockList"> 347<h4>withTimeZone</h4> 348<pre>public <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html" title="class in com.fasterxml.jackson.annotation">JsonFormat.Value</a> withTimeZone(<a href="http://download.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> tz)</pre> 349<dl><dt><span class="strong">Since:</span></dt> 350 <dd>2.1</dd></dl> 351</li> 352</ul> 353<a name="getPattern()"> 354<!-- --> 355</a> 356<ul class="blockList"> 357<li class="blockList"> 358<h4>getPattern</h4> 359<pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getPattern()</pre> 360</li> 361</ul> 362<a name="getShape()"> 363<!-- --> 364</a> 365<ul class="blockList"> 366<li class="blockList"> 367<h4>getShape</h4> 368<pre>public <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> getShape()</pre> 369</li> 370</ul> 371<a name="getLocale()"> 372<!-- --> 373</a> 374<ul class="blockList"> 375<li class="blockList"> 376<h4>getLocale</h4> 377<pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> getLocale()</pre> 378</li> 379</ul> 380<a name="timeZoneAsString()"> 381<!-- --> 382</a> 383<ul class="blockList"> 384<li class="blockList"> 385<h4>timeZoneAsString</h4> 386<pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> timeZoneAsString()</pre> 387<div class="block">Alternate access (compared to <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html#getTimeZone()"><code>getTimeZone()</code></a>) which is useful 388 when caller just wants time zone id to convert, but not as JDK 389 provided <a href="http://download.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util"><code>TimeZone</code></a></div> 390<dl><dt><span class="strong">Since:</span></dt> 391 <dd>2.4</dd></dl> 392</li> 393</ul> 394<a name="getTimeZone()"> 395<!-- --> 396</a> 397<ul class="blockList"> 398<li class="blockList"> 399<h4>getTimeZone</h4> 400<pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> getTimeZone()</pre> 401</li> 402</ul> 403<a name="hasShape()"> 404<!-- --> 405</a> 406<ul class="blockList"> 407<li class="blockList"> 408<h4>hasShape</h4> 409<pre>public boolean hasShape()</pre> 410<dl><dt><span class="strong">Since:</span></dt> 411 <dd>2.4</dd></dl> 412</li> 413</ul> 414<a name="hasPattern()"> 415<!-- --> 416</a> 417<ul class="blockList"> 418<li class="blockList"> 419<h4>hasPattern</h4> 420<pre>public boolean hasPattern()</pre> 421<dl><dt><span class="strong">Since:</span></dt> 422 <dd>2.4</dd></dl> 423</li> 424</ul> 425<a name="hasLocale()"> 426<!-- --> 427</a> 428<ul class="blockList"> 429<li class="blockList"> 430<h4>hasLocale</h4> 431<pre>public boolean hasLocale()</pre> 432<dl><dt><span class="strong">Since:</span></dt> 433 <dd>2.4</dd></dl> 434</li> 435</ul> 436<a name="hasTimeZone()"> 437<!-- --> 438</a> 439<ul class="blockListLast"> 440<li class="blockList"> 441<h4>hasTimeZone</h4> 442<pre>public boolean hasTimeZone()</pre> 443<dl><dt><span class="strong">Since:</span></dt> 444 <dd>2.4</dd></dl> 445</li> 446</ul> 447</li> 448</ul> 449</li> 450</ul> 451</div> 452</div> 453<!-- ========= END OF CLASS DATA ========= --> 454<!-- ======= START OF BOTTOM NAVBAR ====== --> 455<div class="bottomNav"><a name="navbar_bottom"> 456<!-- --> 457</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 458<!-- --> 459</a> 460<ul class="navList" title="Navigation"> 461<li><a href="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li> 462<li class="navBarCell1Rev">Class</li> 463<li><a href="class-use/JsonFormat.Value.html">Use</a></li> 464<li><a href="package-tree.html">Tree</a></li> 465<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 466<li><a href="../../../../index-all.html">Index</a></li> 467<li><a href="../../../../help-doc.html">Help</a></li> 468</ul> 469</div> 470<div class="subNav"> 471<ul class="navList"> 472<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation"><span class="strong">Prev Class</span></a></li> 473<li><a href="../../../../com/fasterxml/jackson/annotation/JsonGetter.html" title="annotation in com.fasterxml.jackson.annotation"><span class="strong">Next Class</span></a></li> 474</ul> 475<ul class="navList"> 476<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/JsonFormat.Value.html" target="_top">Frames</a></li> 477<li><a href="JsonFormat.Value.html" target="_top">No Frames</a></li> 478</ul> 479<ul class="navList" id="allclasses_navbar_bottom"> 480<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 481</ul> 482<div> 483<script type="text/javascript"><!-- 484 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 485 if(window==top) { 486 allClassesLink.style.display = "block"; 487 } 488 else { 489 allClassesLink.style.display = "none"; 490 } 491 //--> 492</script> 493</div> 494<div> 495<ul class="subNavList"> 496<li>Summary: </li> 497<li>Nested | </li> 498<li>Field | </li> 499<li><a href="#constructor_summary">Constr</a> | </li> 500<li><a href="#method_summary">Method</a></li> 501</ul> 502<ul class="subNavList"> 503<li>Detail: </li> 504<li>Field | </li> 505<li><a href="#constructor_detail">Constr</a> | </li> 506<li><a href="#method_detail">Method</a></li> 507</ul> 508</div> 509<a name="skip-navbar_bottom"> 510<!-- --> 511</a></div> 512<!-- ======== END OF BOTTOM NAVBAR ======= --> 513<p class="legalCopy"><small>Copyright © 2014-2015 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 514</body> 515</html> 516