Class ValidatorCreator
- java.lang.Object
-
- com.google.gwt.user.rebind.AbstractSourceCreator
-
- de.knightsoftnet.validators.rebind.AbstractCreator
-
- de.knightsoftnet.validators.rebind.ValidatorCreator
-
public final class ValidatorCreator extends AbstractCreator
Creates the validator for the given input class.
-
-
Constructor Summary
Constructors Constructor Description ValidatorCreator(com.google.gwt.core.ext.typeinfo.JClassType validatorType, GwtValidation gwtValidation, com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.GeneratorContext context, BeanHelperCache cache)constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcompose(com.google.gwt.user.rebind.ClassSourceFileComposerFactory composerFactory)protected voidwriteClassBody(com.google.gwt.user.rebind.SourceWriter sourceWriter)-
Methods inherited from class de.knightsoftnet.validators.rebind.AbstractCreator
addImports, create, createBeanHelper, createBeanHelper, getPackage, getSimpleName
-
-
-
-
Constructor Detail
-
ValidatorCreator
public ValidatorCreator(com.google.gwt.core.ext.typeinfo.JClassType validatorType, GwtValidation gwtValidation, com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.GeneratorContext context, BeanHelperCache cache) throws com.google.gwt.core.ext.UnableToCompleteExceptionconstructor.- Parameters:
validatorType- jclass type of the validatorgwtValidation- gwt specific validatorlogger- tree loggercontext- generator contextcache- bean helper cache- Throws:
com.google.gwt.core.ext.UnableToCompleteException- when cration can not be finishe
-
-
Method Detail
-
compose
protected void compose(com.google.gwt.user.rebind.ClassSourceFileComposerFactory composerFactory)
- Specified by:
composein classAbstractCreator
-
writeClassBody
protected void writeClassBody(com.google.gwt.user.rebind.SourceWriter sourceWriter)
- Specified by:
writeClassBodyin classAbstractCreator
-
-