Class RenderKitFactoryImpl

    • Constructor Detail

      • RenderKitFactoryImpl

        public RenderKitFactoryImpl()
        Constructor registers default Render kit.
    • Method Detail

      • getRenderKit

        public RenderKit getRenderKit​(FacesContext context,
                                      String renderKitId)
        Description copied from class: RenderKitFactory

        Return a RenderKit instance for the specified render kit identifier, possibly customized based on dynamic characteristics of the specified FacesContext, if non-null. If there is no registered RenderKit for the specified identifier, return null. The set of available render kit identifiers is available via the getRenderKitIds() method.

        Specified by:
        getRenderKit in class RenderKitFactory
        Parameters:
        context - FacesContext for the request currently being processed, or null if none is available.
        renderKitId - Render kit identifier of the requested RenderKit instance
        Returns:
        a RenderKit instance
      • getRenderKitIds

        public Iterator<String> getRenderKitIds()
        Description copied from class: RenderKitFactory

        Return an Iterator over the set of render kit identifiers registered with this factory. This set must include the value specified by RenderKitFactory.HTML_BASIC_RENDER_KIT.

        Specified by:
        getRenderKitIds in class RenderKitFactory
        Returns:
        an Iterator over the set of render kit identifiers