| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRendererFactory
 Produces renderer instances. Must be equal only to factory with same class.
 hashCode() must be implemented correctly aswell, to reflect
 this behaviour. In case of singleton factory, default Object's
 equals() and hashCode() is the correct
 implementation thus it is not needed to be overriden.
 
| Field Summary | |
|---|---|
| static String | EXTENSION_POINT_IDID of extension point for renderer factory instances. | 
| Method Summary | |
|---|---|
|  Map<String,RendererInfo> | getSupportedRenderers()Returns map that maps ID of an renderer to the information about that renderer. | 
|  IRenderer | produce(String id)Produces an instance of renderer denoted by given ID. | 
| Field Detail | 
|---|
static final String EXTENSION_POINT_ID
| Method Detail | 
|---|
IRenderer produce(String id)
                  throws EditorException
id - id of the renderer.
EditorException - if error occurs during renderer creation.
IllegalArgumentException - if id is not known.
Map<String,RendererInfo> getSupportedRenderers()
                                               throws EditorException
EditorException - if problem occurs.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||