org.keel.faces.renderkit
Class RenderKitFactoryImpl
java.lang.Object
RenderKitFactory
org.keel.faces.renderkit.RenderKitFactoryImpl
- public class RenderKitFactoryImpl
- extends RenderKitFactory
A factory that coughs up the proper render kit when asked for it. Glorified hashmap :-) Each rendering JSF connector (e.g. for Cocoon, Struts, Velocity, etc) must register it's own appropriate RenderKit with the factory during initialization, as it doesn't know anything when it first starts...
- See Also:
- Serialized Form
| Field Summary |
private static java.util.Map |
myKits
|
| Method Summary |
void |
addRenderKit(java.lang.String id, RenderKit newKit)
Tell the factory about a kit, associating it with an ID |
RenderKit |
getRenderKit(java.lang.String id)
|
RenderKit |
getRenderKit(java.lang.String id, FacesContext facescontext)
|
java.util.Iterator |
getRenderKitIds()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myKits
private static java.util.Map myKits
-
RenderKitFactoryImpl
public RenderKitFactoryImpl()
addRenderKit
public void addRenderKit(java.lang.String id,
RenderKit newKit)
-
Tell the factory about a kit, associating it with an ID
-
getRenderKit
public RenderKit getRenderKit(java.lang.String id)
throws FacesException
-
- Throws:
FacesException
getRenderKit
public RenderKit getRenderKit(java.lang.String id,
FacesContext facescontext)
throws FacesException
-
- Throws:
FacesException
getRenderKitIds
public java.util.Iterator getRenderKitIds()
-
Please see keelframework.org for information about new Keel releases.