public class VelocityRenderer extends Object implements Renderer
| Constructor and Description |
|---|
VelocityRenderer(org.apache.velocity.tools.view.VelocityView velocityView)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRenderable(String path,
Request request)
Checks if this renderer can render a path.
|
void |
render(String path,
Request request)
Renders a path.
|
public VelocityRenderer(org.apache.velocity.tools.view.VelocityView velocityView)
velocityView - The Velocity view manager.public void render(String path, Request request) throws IOException
Rendererrender in interface Rendererpath - The path to render.request - The Tiles request context.IOException - If something goes wrong during rendition.public boolean isRenderable(String path, Request request)
RendererisRenderable in interface Rendererpath - The path to be rendered.request - The request context.true if this renderer can render the attribute.Copyright © 2000–2024 Apache Software Foundation. All rights reserved.