Class RenderKitFactory

java.lang.Object
jakarta.faces.render.RenderKitFactory
All Implemented Interfaces:
FacesWrapper<RenderKitFactory>
Direct Known Subclasses:
RenderKitFactoryImpl

public abstract class RenderKitFactory extends Object implements FacesWrapper<RenderKitFactory>

RenderKitFactory is a factory object that registers and returns RenderKit instances. Implementations of Jakarta Faces must provide at least a default implementation of RenderKit. Advanced implementations (or external third party libraries) may provide additional RenderKit implementations (keyed by render kit identifiers) for performing different types of rendering for the same components.

There must be one RenderKitFactory instance per web application that is utilizing Jakarta Faces. This instance can be acquired, in a portable manner, by calling:

 RenderKitFactory factory = (RenderKitFactory) FactoryFinder.getFactory(FactoryFinder.RENDER_KIT_FACTORY);
 

Usage: extend this class and push the implementation being wrapped to the constructor and use getWrapped() to access the instance being wrapped.