|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.fasterxml.jackson.annotation.JsonFormat.Value
public static class JsonFormat.Value
Helper class used to contain information from a single JsonFormat
annotation.
| Constructor Summary | |
|---|---|
JsonFormat.Value()
|
|
JsonFormat.Value(JsonFormat ann)
|
|
JsonFormat.Value(String p,
JsonFormat.Shape sh,
Locale l,
String tzStr,
TimeZone tz)
Deprecated. since 2.6 |
|
JsonFormat.Value(String p,
JsonFormat.Shape sh,
Locale l,
String tzStr,
TimeZone tz,
JsonFormat.Features f)
|
|
JsonFormat.Value(String p,
JsonFormat.Shape sh,
Locale l,
TimeZone tz)
Deprecated. since 2.6 |
|
JsonFormat.Value(String p,
JsonFormat.Shape sh,
Locale l,
TimeZone tz,
JsonFormat.Features f)
|
|
JsonFormat.Value(String p,
JsonFormat.Shape sh,
String localeStr,
String tzStr)
Deprecated. since 2.6 |
|
JsonFormat.Value(String p,
JsonFormat.Shape sh,
String localeStr,
String tzStr,
JsonFormat.Features f)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JsonFormat.Value()
public JsonFormat.Value(JsonFormat ann)
public JsonFormat.Value(String p,
JsonFormat.Shape sh,
String localeStr,
String tzStr,
JsonFormat.Features f)
public JsonFormat.Value(String p,
JsonFormat.Shape sh,
Locale l,
TimeZone tz,
JsonFormat.Features f)
public JsonFormat.Value(String p,
JsonFormat.Shape sh,
Locale l,
String tzStr,
TimeZone tz,
JsonFormat.Features f)
@Deprecated
public JsonFormat.Value(String p,
JsonFormat.Shape sh,
Locale l,
TimeZone tz)
@Deprecated
public JsonFormat.Value(String p,
JsonFormat.Shape sh,
String localeStr,
String tzStr)
@Deprecated
public JsonFormat.Value(String p,
JsonFormat.Shape sh,
Locale l,
String tzStr,
TimeZone tz)
| Method Detail |
|---|
public static final JsonFormat.Value empty()
public static final JsonFormat.Value from(JsonFormat ann)
public final JsonFormat.Value withOverrides(JsonFormat.Value overrides)
public static JsonFormat.Value forPattern(String p)
public static JsonFormat.Value forShape(JsonFormat.Shape sh)
public JsonFormat.Value withPattern(String p)
public JsonFormat.Value withShape(JsonFormat.Shape s)
public JsonFormat.Value withLocale(Locale l)
public JsonFormat.Value withTimeZone(TimeZone tz)
public JsonFormat.Value withFeature(JsonFormat.Feature f)
public JsonFormat.Value withoutFeature(JsonFormat.Feature f)
public Class<JsonFormat> valueFor()
JacksonAnnotationValue
valueFor in interface JacksonAnnotationValue<JsonFormat>public String getPattern()
public JsonFormat.Shape getShape()
public Locale getLocale()
public String timeZoneAsString()
getTimeZone()) which is useful
when caller just wants time zone id to convert, but not as JDK
provided TimeZone
public TimeZone getTimeZone()
public boolean hasShape()
public boolean hasPattern()
public boolean hasLocale()
public boolean hasTimeZone()
public Boolean getFeature(JsonFormat.Feature f)
Boolean.TRUE or
Boolean.FALSE, indicating 'yes/no/dunno' choices, where `null` ("dunno")
indicates that the default handling should be used based on global defaults,
and there is no format override.
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||