org.apache.tiles.request.render
Class StringRenderer
java.lang.Object
org.apache.tiles.request.render.StringRenderer
- All Implemented Interfaces:
- Renderer
public class StringRenderer
- extends Object
- implements Renderer
Renders an attribute that contains a string.
- Version:
- $Rev: 1215008 $ $Date: 2011-12-15 19:31:49 -0500 (Thu, 15 Dec 2011) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringRenderer
public StringRenderer()
render
public void render(String value,
Request request)
throws IOException
- Renders a path.
- Specified by:
render
in interface Renderer
- Parameters:
value
- The path to render.request
- The Tiles request context.
- Throws:
IOException
- If something goes wrong during rendition.
isRenderable
public boolean isRenderable(String value,
Request request)
- 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 interface Renderer
- Parameters:
value
- The path to be rendered.request
- The request context.
- Returns:
true
if this renderer can render the attribute.
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.