public class RenderingContextHandler extends Object implements Component, Contextualizable
| Modifier and Type | Field and Description |
|---|---|
private static String |
__CONTEXT_ATTRIBUTE |
private Context |
_context |
static String |
ROLE
Avalon role
|
| Constructor and Description |
|---|
RenderingContextHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextualize(Context context) |
RenderingContext |
getRenderingContext()
Retrieves the current rendering context.
|
void |
setRenderingContext(RenderingContext renderingMode)
Set the current rendering context.
|
private static final String __CONTEXT_ATTRIBUTE
public RenderingContextHandler()
public void contextualize(Context context) throws ContextException
contextualize in interface ContextualizableContextExceptionpublic void setRenderingContext(RenderingContext renderingMode)
renderingMode - the current rendering context.public RenderingContext getRenderingContext()
null for the default one.