com.google.gwt.validation.rebind
Class ValidatorCreator

java.lang.Object
  extended by com.google.gwt.validation.rebind.ValidatorCreator

public class ValidatorCreator
extends java.lang.Object

Class that creates the validator for the given input class

Author:
chris

Constructor Summary
ValidatorCreator(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.GeneratorContext context, java.lang.String typeName)
          Creates the generator from the parameters passed by the GWT compiler
 
Method Summary
 java.lang.String createValidatorImplementation()
          Uses a sourcecode writer to write the implementation of the class's validator that was indicated at construction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatorCreator

public ValidatorCreator(com.google.gwt.core.ext.TreeLogger logger,
                        com.google.gwt.core.ext.GeneratorContext context,
                        java.lang.String typeName)
Creates the generator from the parameters passed by the GWT compiler

Parameters:
logger -
context -
typeName -
Method Detail

createValidatorImplementation

public java.lang.String createValidatorImplementation()
Uses a sourcecode writer to write the implementation of the class's validator that was indicated at construction. Returns the fully qualified class name of that implementation.

Returns: