public final class ValidatorGenerator
extends com.google.gwt.core.ext.Generator
Validator and GwtSpecificValidator. The generic validator
only handles the classes listed in the GwtValidation
annotation. See GwtValidation for usage.| Constructor and Description |
|---|
ValidatorGenerator()
constructor called by the compiler via reflection.
|
ValidatorGenerator(BeanHelperCache cache,
Class<?>[] validGroups)
constructor called from tests.
|
| Modifier and Type | Method and Description |
|---|---|
String |
generate(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.GeneratorContext context,
String typeName) |
public ValidatorGenerator()
public ValidatorGenerator(BeanHelperCache cache, Class<?>[] validGroups)
cache - bean helper cachevalidGroups - validation groupspublic String generate(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.GeneratorContext context, String typeName) throws com.google.gwt.core.ext.UnableToCompleteException
generate in class com.google.gwt.core.ext.Generatorcom.google.gwt.core.ext.UnableToCompleteExceptionCopyright © 2015–2016. All rights reserved.