public class ObjectMapperConfiguration
extends com.anaptecs.jeaf.xfun.api.config.AnnotationBasedConfiguration<com.anaptecs.jeaf.json.annotations.ObjectMapperConfig>
| Constructor and Description |
|---|
ObjectMapperConfiguration()
Initialize object.
|
ObjectMapperConfiguration(String pResourceName,
String pConfigurationBasePath,
boolean pExceptionOnError)
Initialize object.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
checkCustomConfiguration(com.anaptecs.jeaf.json.annotations.ObjectMapperConfig pCustomConfiguration) |
protected Class<com.anaptecs.jeaf.json.annotations.ObjectMapperConfig> |
getAnnotationClass() |
protected String |
getDefaultConfigurationClass() |
com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility |
getDefaultCreatorVisibility()
Method returns the default creator visibility that should be used by an object mapper if nothing specific is
defined on class or method level.
|
com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility |
getDefaultFieldVisibility()
Method returns the default field visibility that should be used by an object mapper if nothing specific is defined
on class or field level.
|
com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility |
getDefaultGetterVisibility()
Method returns the default getter visibility that should be used by an object mapper if nothing specific is defined
on class or method level.
|
com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility |
getDefaultSetterVisibility()
Method returns the default setter visibility that should be used by an object mapper if nothing specific is defined
on class or method level.
|
com.fasterxml.jackson.databind.DeserializationFeature[] |
getDisabledDeserializationFeatures()
Method returns the list of deserialization features that should be disabled explicitly.
|
com.fasterxml.jackson.databind.MapperFeature[] |
getDisabledMapperFeatures()
Method returns the list of mapper features that should be disabled explicitly.
|
com.fasterxml.jackson.databind.SerializationFeature[] |
getDisabledSerializationFeatures()
Method returns the list of serialization features that should be disabled explicitly.
|
com.anaptecs.jeaf.json.annotations.ObjectMapperConfig |
getEmptyConfiguration() |
com.fasterxml.jackson.databind.DeserializationFeature[] |
getEnabledDeserializationFeatures()
Method returns the list of deserialization features that should be enabled explicitly.
|
com.fasterxml.jackson.databind.MapperFeature[] |
getEnabledMapperFeatures()
Method returns the list of mapper features that should be enabled explicitly.
|
com.fasterxml.jackson.databind.SerializationFeature[] |
getEnabledSerializationFeatures()
Method returns the list of serialization features that should be enabled explicitly.
|
List<com.anaptecs.jeaf.json.api.ObjectMapperModuleFactory> |
getObjectMapperModuleFactories() |
asList, asList, asList, asList, asList, asList, asList, asList, getConfigurationClass, getConfigurationErrors, isCustomConfigurationAvailable, isDefaultConfigurationAvailable, newInstance, newInstance, newInstances, tryNewInstancepublic ObjectMapperConfiguration()
public ObjectMapperConfiguration(String pResourceName, String pConfigurationBasePath, boolean pExceptionOnError)
pCustomConfigurationResourceName - Name of the file which contains the class name of the custom configuration
class. The parameter must not be null.pBasePackagePath - Path under which the file should be found in the classpath. The parameter may be null.pExceptionOnError - If parameter is set to true then an exception will be thrown in case of configuration
errors.protected Class<com.anaptecs.jeaf.json.annotations.ObjectMapperConfig> getAnnotationClass()
getAnnotationClass in class com.anaptecs.jeaf.xfun.api.config.AnnotationBasedConfiguration<com.anaptecs.jeaf.json.annotations.ObjectMapperConfig>protected String getDefaultConfigurationClass()
getDefaultConfigurationClass in class com.anaptecs.jeaf.xfun.api.config.AnnotationBasedConfiguration<com.anaptecs.jeaf.json.annotations.ObjectMapperConfig>public com.anaptecs.jeaf.json.annotations.ObjectMapperConfig getEmptyConfiguration()
getEmptyConfiguration in class com.anaptecs.jeaf.xfun.api.config.AnnotationBasedConfiguration<com.anaptecs.jeaf.json.annotations.ObjectMapperConfig>public List<String> checkCustomConfiguration(com.anaptecs.jeaf.json.annotations.ObjectMapperConfig pCustomConfiguration)
checkCustomConfiguration in class com.anaptecs.jeaf.xfun.api.config.AnnotationBasedConfiguration<com.anaptecs.jeaf.json.annotations.ObjectMapperConfig>public com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility getDefaultFieldVisibility()
JsonAutoDetect.Visibility Default field visibility. The method never returns null.public com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility getDefaultGetterVisibility()
JsonAutoDetect.Visibility Default field visibility. The method never returns null.public com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility getDefaultSetterVisibility()
JsonAutoDetect.Visibility Default field visibility. The method never returns null.public com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility getDefaultCreatorVisibility()
JsonAutoDetect.Visibility Default field visibility. The method never returns null.public com.fasterxml.jackson.databind.MapperFeature[] getEnabledMapperFeatures()
List List of all features that should be explicitly enabled. The method never returns null.public com.fasterxml.jackson.databind.MapperFeature[] getDisabledMapperFeatures()
List List of all features that should be explicitly disabled. The method never returns null.public com.fasterxml.jackson.databind.SerializationFeature[] getEnabledSerializationFeatures()
List List of all features that should be explicitly enabled. The method never returns null.public com.fasterxml.jackson.databind.SerializationFeature[] getDisabledSerializationFeatures()
List List of all features that should be explicitly disabled. The method never returns null.public com.fasterxml.jackson.databind.DeserializationFeature[] getEnabledDeserializationFeatures()
List List of all features that should be explicitly enabled. The method never returns null.public com.fasterxml.jackson.databind.DeserializationFeature[] getDisabledDeserializationFeatures()
List List of all features that should be explicitly disabled. The method never returns null.public List<com.anaptecs.jeaf.json.api.ObjectMapperModuleFactory> getObjectMapperModuleFactories()
Copyright © 2022. All rights reserved.