Class JsonObjectFormatVisitor.Base
java.lang.Object
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor.Base
- All Implemented Interfaces:
JsonFormatVisitorWithSerializerProvider
,JsonObjectFormatVisitor
- Enclosing interface:
- JsonObjectFormatVisitor
Default "empty" implementation, useful as the base to start on;
especially as it is guaranteed to implement all the method
of the interface, even if new methods are getting added.
-
Nested Class Summary
Nested classes/interfaces inherited from interface edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor
JsonObjectFormatVisitor.Base
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
optionalProperty
(BeanProperty prop) void
optionalProperty
(String name, JsonFormatVisitable handler, JavaType propertyTypeHint) void
property
(BeanProperty prop) Callback method called when a POJO property is being traversed.void
property
(String name, JsonFormatVisitable handler, JavaType propertyTypeHint) Callback method called when a non-POJO property (typically something like an Enum entry ofEnumMap
type) is being traversed.void
-
Field Details
-
_provider
-
-
Constructor Details
-
Base
public Base() -
Base
-
-
Method Details
-
getProvider
- Specified by:
getProvider
in interfaceJsonFormatVisitorWithSerializerProvider
-
setProvider
- Specified by:
setProvider
in interfaceJsonFormatVisitorWithSerializerProvider
-
property
Description copied from interface:JsonObjectFormatVisitor
Callback method called when a POJO property is being traversed.- Specified by:
property
in interfaceJsonObjectFormatVisitor
- Throws:
JsonMappingException
-
property
public void property(String name, JsonFormatVisitable handler, JavaType propertyTypeHint) throws JsonMappingException Description copied from interface:JsonObjectFormatVisitor
Callback method called when a non-POJO property (typically something like an Enum entry ofEnumMap
type) is being traversed. With POJOs,JsonObjectFormatVisitor.property(BeanProperty)
is called instead.- Specified by:
property
in interfaceJsonObjectFormatVisitor
- Throws:
JsonMappingException
-
optionalProperty
- Specified by:
optionalProperty
in interfaceJsonObjectFormatVisitor
- Throws:
JsonMappingException
-
optionalProperty
public void optionalProperty(String name, JsonFormatVisitable handler, JavaType propertyTypeHint) throws JsonMappingException - Specified by:
optionalProperty
in interfaceJsonObjectFormatVisitor
- Throws:
JsonMappingException
-