public class Html5RenderKitFactory extends RenderKitFactory
Html5RenderKit
to run:
<factory> <render-kit-factory> org.omnifaces.renderkit.Html5RenderKitFactory </render-kit-factory> </factory>
HTML_BASIC_RENDER_KIT
Constructor and Description |
---|
Html5RenderKitFactory(RenderKitFactory wrapped)
Construct a new HTML5 render kit factory around the given wrapped factory.
|
Modifier and Type | Method and Description |
---|---|
void |
addRenderKit(String renderKitId,
RenderKit renderKit) |
RenderKit |
getRenderKit(FacesContext context,
String renderKitId)
If the given render kit ID equals to
RenderKitFactory.HTML_BASIC_RENDER_KIT , then return a new
Html5RenderKit instance which wraps the original render kit, else return the original render kit. |
Iterator<String> |
getRenderKitIds() |
getWrapped
public Html5RenderKitFactory(RenderKitFactory wrapped)
wrapped
- The wrapped factory.public void addRenderKit(String renderKitId, RenderKit renderKit)
addRenderKit
in class RenderKitFactory
public RenderKit getRenderKit(FacesContext context, String renderKitId)
RenderKitFactory.HTML_BASIC_RENDER_KIT
, then return a new
Html5RenderKit
instance which wraps the original render kit, else return the original render kit.getRenderKit
in class RenderKitFactory
public Iterator<String> getRenderKitIds()
getRenderKitIds
in class RenderKitFactory