|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.resources.ext.AbstractResourceGenerator
com.google.gwt.resources.rg.BundleResourceGenerator
public final class BundleResourceGenerator
This is a special case of ResourceGenerator that handles nested bundles.
| Constructor Summary | |
|---|---|
BundleResourceGenerator()
|
|
| Method Summary | |
|---|---|
java.lang.String |
createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method)
Produce the right-hand-side of a Java assignment expression to provide the singleton instance object for a particular resource. |
| Methods inherited from class com.google.gwt.resources.ext.AbstractResourceGenerator |
|---|
createFields, finish, init, prepare |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BundleResourceGenerator()
| Method Detail |
|---|
public java.lang.String createAssignment(TreeLogger logger,
ResourceContext context,
JMethod method)
throws UnableToCompleteException
ResourceGeneratorExample:
new MySampleResource() { public Foo getFoo() { ... } }
createAssignment in interface ResourceGeneratorcreateAssignment in class AbstractResourceGeneratorUnableToCompleteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||