public interface PojoDescriptorGeneratorConfiguration
PojoDescriptorGenerator and PojoDescriptorBuilderGenerator. If you want
to define your own custom implementation, have a look at
AbstractPojoDescriptorGenerator.createConfiguration() and
PojoDescriptorGeneratorConfigurationImpl.getMarkerType().isPojoTypeSupported(JClassType, TypeOracle)| Modifier and Type | Method and Description |
|---|---|
String |
getPojoTypeDescription() |
com.google.gwt.core.ext.typeinfo.JClassType |
getSupportedSuperType(com.google.gwt.core.ext.typeinfo.JClassType type,
com.google.gwt.core.ext.typeinfo.TypeOracle typeOracle)
Determines the super-type that is
supported. |
boolean |
isPojoTypeSupported(com.google.gwt.core.ext.typeinfo.JClassType type,
com.google.gwt.core.ext.typeinfo.TypeOracle typeOracle)
This method determines if the given
type will be supported and a
PojoDescriptor implementation shall be generated. |
boolean isPojoTypeSupported(com.google.gwt.core.ext.typeinfo.JClassType type,
com.google.gwt.core.ext.typeinfo.TypeOracle typeOracle)
type will be supported and a
PojoDescriptor implementation shall be generated. Pojos. Otherwise
there is way too much clutter generated and your web-application will grow too big. So never consider to return
true for every given type.type - is the Pojo to check.typeOracle - is the TypeOracle that may be used to resolve
additional types (e.g. a marker interface).true if the given type is supported, false otherwise.com.google.gwt.core.ext.typeinfo.JClassType getSupportedSuperType(com.google.gwt.core.ext.typeinfo.JClassType type,
com.google.gwt.core.ext.typeinfo.TypeOracle typeOracle)
supported.type - a supported type.typeOracle - is the TypeOracle that may be used to resolve
additional types (e.g. a marker interface).super-type (typically
JClassType.getSuperclass()) that is still supported or null if no such type exists.Copyright © 2001–2016 mmm-Team. All rights reserved.