Package org.apache.tiles.core.renderer
Class DefinitionRenderer
java.lang.Object
org.apache.tiles.core.renderer.DefinitionRenderer
- All Implemented Interfaces:
Renderer
Renders an attribute that contains a reference to a definition.
- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefinitionRenderer
Constructor.- Parameters:
container
- The Tiles container.
-
-
Method Details
-
render
Renders a path.- Specified by:
render
in interfaceRenderer
- Parameters:
path
- The path to render.request
- The Tiles request context.- Throws:
IOException
- If something goes wrong during rendition.
-
isRenderable
Checks if this renderer can render a path. Note that this does not mean it is the best renderer available, but checks only its capability.- Specified by:
isRenderable
in interfaceRenderer
- Parameters:
path
- The path to be rendered.request
- The request context.- Returns:
true
if this renderer can render the attribute.
-