Constructor and Description |
---|
ChainedDelegateRenderer()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addAttributeRenderer(Renderer renderer)
Adds an attribute renderer to the list.
|
boolean |
isRenderable(String value,
Request request)
Checks if this renderer can render a path.
|
void |
render(String value,
Request request)
Renders a path.
|
public void addAttributeRenderer(Renderer renderer)
renderer
- The renderer to add.public void render(String value, Request request) throws IOException
Renderer
render
in interface Renderer
value
- The path to render.request
- The Tiles request context.IOException
- If something goes wrong during rendition.public boolean isRenderable(String value, Request request)
isRenderable
in interface Renderer
value
- The path to be rendered.request
- The request context.true
if this renderer can render the attribute.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.