Package org.apache.tiles.request.render
Class DispatchRenderer
java.lang.Object
org.apache.tiles.request.render.DispatchRenderer
- All Implemented Interfaces:
Renderer
Renders an attribute that contains a reference to a template.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DispatchRenderer
public DispatchRenderer()
-
-
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.
-