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) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility |
getDefaultCreatorVisibility() |
com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility |
getDefaultFieldVisibility() |
com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility |
getDefaultGetterVisibility() |
com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility |
getDefaultIsGetterVisibility() |
com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility |
getDefaultSetterVisibility() |
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() |
String |
getRootMapperHash() |
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) |
boolean |
isTypeSupportedForDeserialization(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.typeinfo.JClassType classType) |
boolean |
isTypeSupportedForSerialization(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.typeinfo.JClassType classType) |
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
com.google.gwt.core.ext.UnableToCompleteExceptionpublic 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 typepublic 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 typepublic 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 typepublic 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 typepublic com.google.gwt.thirdparty.guava.common.base.Optional<com.google.gwt.core.ext.typeinfo.JClassType> getMixInAnnotations(com.google.gwt.core.ext.typeinfo.JType type)
public com.google.gwt.core.ext.typeinfo.JClassType getRootMapperClass()
public String getRootMapperHash()
public boolean isSpecificToMapper(com.google.gwt.core.ext.typeinfo.JClassType beanType)
beanType - typepublic boolean isTypeSupportedForSerialization(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.typeinfo.JClassType classType)
public boolean isTypeSupportedForDeserialization(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.typeinfo.JClassType classType)
public com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility getDefaultFieldVisibility()
public com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility getDefaultGetterVisibility()
public com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility getDefaultIsGetterVisibility()
public com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility getDefaultSetterVisibility()
public com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility getDefaultCreatorVisibility()
Copyright © 2016. All Rights Reserved.