com.google.gwt.i18n.rebind
Class CustomDateTimeFormatGenerator

java.lang.Object
  extended by Generator
      extended by com.google.gwt.i18n.rebind.CustomDateTimeFormatGenerator

public class CustomDateTimeFormatGenerator
extends Generator

Generator used to generate an implementation of a CustomDateTimeFormat interface, computing the best matching localized format patterns at compile time.


Constructor Summary
CustomDateTimeFormatGenerator()
           
 
Method Summary
 java.lang.String generate(TreeLogger logger, GeneratorContext context, java.lang.String typeName)
          Generate an implementation for the given type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomDateTimeFormatGenerator

public CustomDateTimeFormatGenerator()
Method Detail

generate

public final java.lang.String generate(TreeLogger logger,
                                       GeneratorContext context,
                                       java.lang.String typeName)
                                throws UnableToCompleteException
Generate an implementation for the given type.

Parameters:
logger - error logger
context - generator context
typeName - target type name
Returns:
generated class name
Throws:
UnableToCompleteException