com.google.gwt.i18n.rebind
Class CustomDateTimeFormatGenerator
java.lang.Object
Generator
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.
|
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 |
CustomDateTimeFormatGenerator
public CustomDateTimeFormatGenerator()
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 loggercontext - generator contexttypeName - target type name
- Returns:
- generated class name
- Throws:
UnableToCompleteException