com.fasterxml.jackson.annotation
Class JsonFormat.Value
java.lang.Object
com.fasterxml.jackson.annotation.JsonFormat.Value
- Enclosing class:
- JsonFormat
public static class JsonFormat.Value
- extends Object
Helper class used to contain information from a single JsonFormat
annotation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonFormat.Value
public JsonFormat.Value()
JsonFormat.Value
public JsonFormat.Value(JsonFormat ann)
JsonFormat.Value
public JsonFormat.Value(String p,
JsonFormat.Shape sh,
String localeStr,
String tzStr)
JsonFormat.Value
public JsonFormat.Value(String p,
JsonFormat.Shape sh,
Locale l,
TimeZone tz)
- Since:
- 2.1
withPattern
public JsonFormat.Value withPattern(String p)
- Since:
- 2.1
withShape
public JsonFormat.Value withShape(JsonFormat.Shape s)
- Since:
- 2.1
withLocale
public JsonFormat.Value withLocale(Locale l)
- Since:
- 2.1
withTimeZone
public JsonFormat.Value withTimeZone(TimeZone tz)
- Since:
- 2.1
getPattern
public String getPattern()
getShape
public JsonFormat.Shape getShape()
getLocale
public Locale getLocale()
getTimeZone
public TimeZone getTimeZone()
Copyright © 2012 FasterXML. All Rights Reserved.