com.google.gwt.resources.ext
Interface ClientBundleRequirements
public interface ClientBundleRequirements
Allows ResourceGenerators to indicate how their generated resources may be
affected by their execution environment. An instance of this type will be
provided to the ResourceGenerator via the ResourceGenerator.prepare(com.google.gwt.core.ext.TreeLogger, com.google.gwt.resources.ext.ResourceContext, com.google.gwt.resources.ext.ClientBundleRequirements, com.google.gwt.core.ext.typeinfo.JMethod)
method.
Method Summary |
void |
addPermutationAxis(java.lang.String propertyName)
Indicates that the ResourcePrototype implementation generated by a
ResourceGenerator is sensitive to the value of the specified
deferred-binding property. |
addPermutationAxis
void addPermutationAxis(java.lang.String propertyName)
throws BadPropertyValueException
- Indicates that the ResourcePrototype implementation generated by a
ResourceGenerator is sensitive to the value of the specified
deferred-binding property. This method should be called when the behavior
of the ResourcePrototype must differ between permutations of the compiled
output. For example, some resource implementations may be sensitive to the
user.agent
deferred-binding property, and would call this
method with the literal string user.agent
.
- Parameters:
propertyName
- the name of the deferred-binding property
- Throws:
BadPropertyValueException
- if propertyName
is not a
valid deferred-binding property.