T
- the wrapped type.public interface FacesWrapper<T>
Any wrapper class in Jakarta Server Faces that must provide access to the object it wraps must implement this interface.
The expected usage of all subclasses is to provide a constructor that takes an instance of type
T
, which sets the instance variable that is returned from the getWrapped
method.
Modifier and Type | Method and Description |
---|---|
T |
getWrapped()
A class that implements this interface uses this method to return an instance of the class being wrapped. |
T getWrapped()
A class that implements this interface uses this method to return an instance of the class being wrapped.