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