|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.ext.Generator
Generates source code for subclasses during deferred binding requests. Subclasses must be thread-safe.
| Constructor Summary | |
Generator()
|
|
| Method Summary | |
static java.lang.String |
escape(java.lang.String unescaped)
Escapes string content to be a valid string literal. |
abstract java.lang.String |
generate(TreeLogger logger,
GeneratorContext context,
java.lang.String typeName)
Generate a default constructible subclass of the requested type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Generator()
| Method Detail |
public abstract java.lang.String generate(TreeLogger logger,
GeneratorContext context,
java.lang.String typeName)
throws UnableToCompleteException
null to cause the requested type itself to be
used
UnableToCompleteException - if for any reason the generator cannot
provide a substitute classpublic static java.lang.String escape(java.lang.String unescaped)
unescaped, suitable for being
enclosed in double quotes in Java source
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||