com.google.gwt.i18n.rebind
Class CurrencyListGenerator

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

public class CurrencyListGenerator
extends Generator

Generator used to generate a localized version of CurrencyList, which contains the list of currencies (with names, symbols, and other information) localized to the current locale.


Constructor Summary
CurrencyListGenerator()
           
 
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

CurrencyListGenerator

public CurrencyListGenerator()
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