This project has retired. For details please refer to its Attic page.
RendererFactory (Tiles 2 2.1.4 API)

org.apache.tiles.renderer
Interface RendererFactory

Package class diagram package RendererFactory
All Known Implementing Classes:
BasicRendererFactory

public interface RendererFactory

Factory interface used to create/retrieve instances of the AttributeRenderer interface.

This factory provides an extension point into the default tiles implementation. Implementors wishing to provide per request initialization of the AttributeRenderer (for instance) may provide a custom renderer.

Since:
2.1.0
Version:
$Rev: 637434 $ $Date: 2008-03-15 16:48:38 +0100 (sab, 15 mar 2008) $

Method Summary
 AttributeRenderer getRenderer(String name)
          Returns a renderer by its name.
 void init(Map<String,String> parameters)
          Initialize the renderer factory.
 

Method Detail

init

void init(Map<String,String> parameters)
Initialize the renderer factory.

Parameters:
parameters - The parameters for the initialization.
Since:
2.1.0

getRenderer

AttributeRenderer getRenderer(String name)
Returns a renderer by its name.

Parameters:
name - The name of the renderer.
Returns:
The renderer.
Since:
2.1.0


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.