@Deprecated public class Html5RenderKitFactory extends RenderKitFactory
faces-config.xml
to get the
Html5RenderKit
to run:
<factory> <render-kit-factory> org.omnifaces.renderkit.Html5RenderKitFactory </render-kit-factory> </factory>
Html5RenderKit
HTML_BASIC_RENDER_KIT
Constructor and Description |
---|
Html5RenderKitFactory(RenderKitFactory wrapped)
Deprecated.
Construct a new HTML5 render kit factory around the given wrapped factory.
|
Modifier and Type | Method and Description |
---|---|
void |
addRenderKit(String renderKitId,
RenderKit renderKit)
Deprecated.
|
RenderKit |
getRenderKit(FacesContext context,
String renderKitId)
Deprecated.
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()
Deprecated.
|
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
Copyright © 2012–2017 OmniFaces. All rights reserved.