|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.fasterxml.jackson.annotation.JsonInclude.Value
public static class JsonInclude.Value
Helper class used to contain information from a single JsonInclude
annotation.
| Field Summary | |
|---|---|
protected JsonInclude.Include |
_contentInclusion
|
protected JsonInclude.Include |
_valueInclusion
|
protected static JsonInclude.Value |
EMPTY
|
| Constructor Summary | |
|---|---|
protected |
JsonInclude.Value(JsonInclude.Include vi,
JsonInclude.Include ci)
|
|
JsonInclude.Value(JsonInclude src)
|
| Method Summary | |
|---|---|
static JsonInclude.Value |
construct(JsonInclude.Include valueIncl,
JsonInclude.Include contentIncl)
Factory method to use for constructing an instance for components |
static JsonInclude.Value |
empty()
|
boolean |
equals(Object o)
|
static JsonInclude.Value |
from(JsonInclude src)
Factory method to use for constructing an instance from instance of JsonInclude |
JsonInclude.Include |
getContentInclusion()
|
JsonInclude.Include |
getValueInclusion()
|
int |
hashCode()
|
protected Object |
readResolve()
|
String |
toString()
|
Class<JsonInclude> |
valueFor()
Introspection method that may be used to find actual annotation that may be used as the source for value instance. |
JsonInclude.Value |
withContentInclusion(JsonInclude.Include incl)
|
JsonInclude.Value |
withOverrides(JsonInclude.Value overrides)
Mutant factory method that merges values of this value with given override values, so that any explicitly defined inclusion in overrides has precedence over settings of this value instance. |
JsonInclude.Value |
withValueInclusion(JsonInclude.Include incl)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final JsonInclude.Value EMPTY
protected final JsonInclude.Include _valueInclusion
protected final JsonInclude.Include _contentInclusion
| Constructor Detail |
|---|
public JsonInclude.Value(JsonInclude src)
protected JsonInclude.Value(JsonInclude.Include vi,
JsonInclude.Include ci)
| Method Detail |
|---|
public static JsonInclude.Value empty()
protected Object readResolve()
public JsonInclude.Value withOverrides(JsonInclude.Value overrides)
this
instance; otherwise new JsonInclude.Value with changed inclusion values.
public static JsonInclude.Value construct(JsonInclude.Include valueIncl,
JsonInclude.Include contentIncl)
public static JsonInclude.Value from(JsonInclude src)
JsonInclude
public JsonInclude.Value withValueInclusion(JsonInclude.Include incl)
public JsonInclude.Value withContentInclusion(JsonInclude.Include incl)
public Class<JsonInclude> valueFor()
JacksonAnnotationValue
valueFor in interface JacksonAnnotationValue<JsonInclude>public JsonInclude.Include getValueInclusion()
public JsonInclude.Include getContentInclusion()
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 | ||||||||