public static class JsonObjectFormatVisitor.Base extends java.lang.Object implements JsonObjectFormatVisitor
JsonObjectFormatVisitor.Base
Constructor and Description |
---|
Base() |
Base(SerializerProvider p) |
Modifier and Type | Method and Description |
---|---|
SerializerProvider |
getProvider() |
void |
optionalProperty(BeanProperty prop) |
void |
optionalProperty(java.lang.String name,
JsonFormatVisitable handler,
JavaType propertyTypeHint) |
void |
property(BeanProperty prop)
Callback method called when a POJO property is being traversed.
|
void |
property(java.lang.String name,
JsonFormatVisitable handler,
JavaType propertyTypeHint)
Callback method called when a non-POJO property (typically something
like an Enum entry of
EnumMap type) is being
traversed. |
void |
setProvider(SerializerProvider p) |
public Base()
public Base(SerializerProvider p)
public SerializerProvider getProvider()
getProvider
in interface JsonFormatVisitorWithSerializerProvider
public void setProvider(SerializerProvider p)
setProvider
in interface JsonFormatVisitorWithSerializerProvider
public void property(BeanProperty prop) throws JsonMappingException
JsonObjectFormatVisitor
property
in interface JsonObjectFormatVisitor
JsonMappingException
public void property(java.lang.String name, JsonFormatVisitable handler, JavaType propertyTypeHint) throws JsonMappingException
JsonObjectFormatVisitor
EnumMap
type) is being
traversed. With POJOs, JsonObjectFormatVisitor.property(BeanProperty)
is called instead.property
in interface JsonObjectFormatVisitor
JsonMappingException
public void optionalProperty(BeanProperty prop) throws JsonMappingException
optionalProperty
in interface JsonObjectFormatVisitor
JsonMappingException
public void optionalProperty(java.lang.String name, JsonFormatVisitable handler, JavaType propertyTypeHint) throws JsonMappingException
optionalProperty
in interface JsonObjectFormatVisitor
JsonMappingException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"