public final class RebindConfiguration extends Object
DefaultConfiguration and any AbstractConfiguration the user defined with :
<extend-configuration-property name="gwtjackson.configuration.extension" value="com.example.MyAbstractConfiguration" />
| Modifier and Type | Class and Description |
|---|---|
static class |
RebindConfiguration.MapperInstance |
static class |
RebindConfiguration.MapperType |
| Constructor and Description |
|---|
RebindConfiguration(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext context,
JacksonTypeOracle typeOracle,
com.google.gwt.core.ext.typeinfo.JClassType rootMapperClass)
Constructor for RebindConfiguration.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility |
getDefaultCreatorVisibility()
Getter for the field
defaultCreatorVisibility. |
com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility |
getDefaultFieldVisibility()
Getter for the field
defaultFieldVisibility. |
com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility |
getDefaultGetterVisibility()
Getter for the field
defaultGetterVisibility. |
com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility |
getDefaultIsGetterVisibility()
Getter for the field
defaultIsGetterVisibility. |
com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility |
getDefaultSetterVisibility()
Getter for the field
defaultSetterVisibility. |
com.google.gwt.thirdparty.guava.common.base.Optional<RebindConfiguration.MapperInstance> |
getDeserializer(com.google.gwt.core.ext.typeinfo.JType type)
Return a
RebindConfiguration.MapperInstance instantiating the deserializer for the given type |
com.google.gwt.thirdparty.guava.common.base.Optional<RebindConfiguration.MapperInstance> |
getKeyDeserializer(com.google.gwt.core.ext.typeinfo.JType type)
Return a
RebindConfiguration.MapperInstance instantiating the key deserializer for the given type |
com.google.gwt.thirdparty.guava.common.base.Optional<RebindConfiguration.MapperInstance> |
getKeySerializer(com.google.gwt.core.ext.typeinfo.JType type)
Return a
RebindConfiguration.MapperInstance instantiating the key serializer for the given type |
com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JClassType> |
getMixInAnnotations(com.google.gwt.core.ext.typeinfo.JType type)
Return the mixin type for the given type
|
com.google.gwt.core.ext.typeinfo.JClassType |
getRootMapperClass()
Getter for the field
rootMapperClass. |
String |
getRootMapperHash()
Getter for the field
rootMapperHash. |
com.google.gwt.thirdparty.guava.common.base.Optional<RebindConfiguration.MapperInstance> |
getSerializer(com.google.gwt.core.ext.typeinfo.JType type)
Return a
RebindConfiguration.MapperInstance instantiating the serializer for the given type |
boolean |
isSpecificToMapper(com.google.gwt.core.ext.typeinfo.JClassType beanType)
isSpecificToMapper
|
boolean |
isTypeSupportedForDeserialization(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.typeinfo.JClassType classType)
isTypeSupportedForDeserialization
|
boolean |
isTypeSupportedForSerialization(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.typeinfo.JClassType classType)
isTypeSupportedForSerialization
|
public RebindConfiguration(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext context,
JacksonTypeOracle typeOracle,
com.google.gwt.core.ext.typeinfo.JClassType rootMapperClass)
throws com.google.gwt.core.ext.UnableToCompleteException
Constructor for RebindConfiguration.
logger - a TreeLogger object.context - a GeneratorContext object.typeOracle - a JacksonTypeOracle object.rootMapperClass - a JClassType object.com.google.gwt.core.ext.UnableToCompleteException - if any.public com.google.gwt.thirdparty.guava.common.base.Optional<RebindConfiguration.MapperInstance> getSerializer(com.google.gwt.core.ext.typeinfo.JType type)
RebindConfiguration.MapperInstance instantiating the serializer for the given typetype - a JType object.Optional object.public com.google.gwt.thirdparty.guava.common.base.Optional<RebindConfiguration.MapperInstance> getDeserializer(com.google.gwt.core.ext.typeinfo.JType type)
RebindConfiguration.MapperInstance instantiating the deserializer for the given typetype - a JType object.Optional object.public com.google.gwt.thirdparty.guava.common.base.Optional<RebindConfiguration.MapperInstance> getKeySerializer(com.google.gwt.core.ext.typeinfo.JType type)
RebindConfiguration.MapperInstance instantiating the key serializer for the given typetype - a JType object.Optional object.public com.google.gwt.thirdparty.guava.common.base.Optional<RebindConfiguration.MapperInstance> getKeyDeserializer(com.google.gwt.core.ext.typeinfo.JType type)
RebindConfiguration.MapperInstance instantiating the key deserializer for the given typetype - a JType object.Optional object.public com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JClassType> getMixInAnnotations(com.google.gwt.core.ext.typeinfo.JType type)
type - a JType object.Optional object.public com.google.gwt.core.ext.typeinfo.JClassType getRootMapperClass()
Getter for the field rootMapperClass.
public String getRootMapperHash()
Getter for the field rootMapperHash.
String object.public boolean isSpecificToMapper(com.google.gwt.core.ext.typeinfo.JClassType beanType)
isSpecificToMapper
beanType - typepublic boolean isTypeSupportedForSerialization(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.typeinfo.JClassType classType)
isTypeSupportedForSerialization
logger - a TreeLogger object.classType - a JClassType object.public boolean isTypeSupportedForDeserialization(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.typeinfo.JClassType classType)
isTypeSupportedForDeserialization
logger - a TreeLogger object.classType - a JClassType object.public com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility getDefaultFieldVisibility()
Getter for the field defaultFieldVisibility.
JsonAutoDetect.Visibility object.public com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility getDefaultGetterVisibility()
Getter for the field defaultGetterVisibility.
JsonAutoDetect.Visibility object.public com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility getDefaultIsGetterVisibility()
Getter for the field defaultIsGetterVisibility.
JsonAutoDetect.Visibility object.public com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility getDefaultSetterVisibility()
Getter for the field defaultSetterVisibility.
JsonAutoDetect.Visibility object.public com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility getDefaultCreatorVisibility()
Getter for the field defaultCreatorVisibility.
JsonAutoDetect.Visibility object.Copyright © 2017. All Rights Reserved.