T
- the type of object-to-render that this decorator decoratespublic abstract class RenderableDecoratorSupport<T> extends java.lang.Object implements RenderableDecorator<T>
RenderableDecorator
implementations.
This base class provides an implementation for the getType()
method based on the type parameter T
.
Like RendererSupport
implementations, the value for type variable T
must be a concrete type or a parameterized type
with the ?
wildcard for all variables due to runtime type erasure.
Modifier | Constructor and Description |
---|---|
protected |
RenderableDecoratorSupport() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<T> |
getType()
The type of objects that this decorator decorates.
|
public java.lang.Class<T> getType()
getType
in interface RenderableDecorator<T>