public class ChainedDelegateAttributeRenderer extends AbstractBaseAttributeRenderer
applicationContext, attributeEvaluatorFactory, contextFactory
Constructor and Description |
---|
ChainedDelegateAttributeRenderer()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addAttributeRenderer(TypeDetectingAttributeRenderer renderer)
Adds an attribute renderer to the list.
|
void |
write(Object value,
Attribute attribute,
TilesRequestContext request)
Implement this method knowing that the attribute won't be null and it
will be authorized.
|
getRequestContext, isPermitted, render, setApplicationContext, setAttributeEvaluatorFactory, setRequestContextFactory
public ChainedDelegateAttributeRenderer()
public void addAttributeRenderer(TypeDetectingAttributeRenderer renderer)
renderer
- The renderer to add.public void write(Object value, Attribute attribute, TilesRequestContext request) throws IOException
write
in class AbstractBaseAttributeRenderer
value
- The value of the attribute to be rendered.attribute
- The attribute to render.request
- The Tiles request object.IOException
- If something goes wrong during rendition.Copyright © 2017. All rights reserved.