Class ResourceWrapper

java.lang.Object
All Implemented Interfaces:
FacesWrapper<Resource>

public abstract class ResourceWrapper extends Resource implements FacesWrapper<Resource>

Provides a simple implementation of Resource that can be subclassed by developers wishing to provide specialized behavior to an existing Resource instance. The default implementation of all methods is to call through to the wrapped Resource.

Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped() to access the instance being wrapped.

Since:
2.0