| org.apache.roller.ui.rendering.RendererFactory
All known Subclasses: org.apache.roller.ui.rendering.velocity.VelocityRendererFactory,
RendererFactory | public interface RendererFactory (Code) | | A factory for Renderer objects.
Implementations of this interface are used to handle the actual lookup of
what Renderer object should be used to render a given resource.
|
Method Summary | |
public Renderer | getRenderer(Template template) Get a Renderer that will handle the given Template.
If a RendererFactory does not have a Renderer which can handle the
content then it may return null.
This method purposely does not throw exceptions because the rendering
system as a whole does not care if a given factory generates an exception
while trying to find a renderer. |
getRenderer | public Renderer getRenderer(Template template)(Code) | | Get a Renderer that will handle the given Template.
If a RendererFactory does not have a Renderer which can handle the
content then it may return null.
This method purposely does not throw exceptions because the rendering
system as a whole does not care if a given factory generates an exception
while trying to find a renderer. It is up to the factory itself to
report any relevant exceptions itself.
|
|
|