public interface

ClientBundleRequirements

com.google.gwt.resources.ext.ClientBundleRequirements

Class Overview

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 prepare(TreeLogger, ResourceContext, ClientBundleRequirements, JMethod) method.

Summary

Public Methods
abstract void addPermutationAxis(String propertyName)
Indicates that the ResourcePrototype implementation generated by a ResourceGenerator is sensitive to the value of the specified deferred-binding property.

Public Methods

public abstract void addPermutationAxis (String propertyName)

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.