|
||||||||||
| 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.CssResourceGenerator
public final class CssResourceGenerator
Provides implementations of CSSResources.
| Constructor Summary | |
|---|---|
CssResourceGenerator()
|
|
| 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. |
static java.lang.String |
getImportPrefix(JClassType importType)
Returns the import prefix for a type, including the trailing hyphen. |
static boolean |
haveCommonProperties(CssRule a,
CssRule b)
|
void |
init(TreeLogger logger,
ResourceContext context)
A no-op implementation. |
static void |
main(java.lang.String[] args)
|
void |
prepare(TreeLogger logger,
ResourceContext context,
ClientBundleRequirements requirements,
JMethod method)
A no-op implementation. |
| Methods inherited from class com.google.gwt.resources.ext.AbstractResourceGenerator |
|---|
createFields, finish |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CssResourceGenerator()
| Method Detail |
|---|
public static java.lang.String getImportPrefix(JClassType importType)
public static boolean haveCommonProperties(CssRule a,
CssRule b)
public static void main(java.lang.String[] args)
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
public void init(TreeLogger logger,
ResourceContext context)
throws UnableToCompleteException
AbstractResourceGenerator
init in interface ResourceGeneratorinit in class AbstractResourceGeneratorUnableToCompleteException
public void prepare(TreeLogger logger,
ResourceContext context,
ClientBundleRequirements requirements,
JMethod method)
throws UnableToCompleteException
AbstractResourceGenerator
prepare in interface ResourceGeneratorprepare in class AbstractResourceGeneratorUnableToCompleteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||