java.lang.Object
jakarta.faces.render.RenderKitFactory
com.sun.faces.renderkit.RenderKitFactoryImpl
- All Implemented Interfaces:
FacesWrapper<RenderKitFactory>
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected ConcurrentHashMap
<String, RenderKit> Fields inherited from class jakarta.faces.render.RenderKitFactory
HTML_BASIC_RENDER_KIT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRenderKit
(String renderKitId, RenderKit renderKit) Register the specifiedRenderKit
instance, associated with the specifiedrenderKitId
, to be supported by thisRenderKitFactory
, replacing any previously registeredRenderKit
for this identifier.getRenderKit
(FacesContext context, String renderKitId) Return aRenderKit
instance for the specified render kit identifier, possibly customized based on dynamic characteristics of the specifiedFacesContext
, if non-null
.Return anIterator
over the set of render kit identifiers registered with this factory.Methods inherited from class jakarta.faces.render.RenderKitFactory
getWrapped
-
Field Details
-
renderKitId
-
className
-
renderKits
-
-
Constructor Details
-
RenderKitFactoryImpl
public RenderKitFactoryImpl()Constructor registers default Render kit.
-
-
Method Details
-
addRenderKit
Description copied from class:RenderKitFactory
Register the specified
RenderKit
instance, associated with the specifiedrenderKitId
, to be supported by thisRenderKitFactory
, replacing any previously registeredRenderKit
for this identifier.- Specified by:
addRenderKit
in classRenderKitFactory
- Parameters:
renderKitId
- Identifier of theRenderKit
to registerrenderKit
-RenderKit
instance that we are registering
-
getRenderKit
Description copied from class:RenderKitFactory
Return a
RenderKit
instance for the specified render kit identifier, possibly customized based on dynamic characteristics of the specifiedFacesContext
, if non-null
. If there is no registeredRenderKit
for the specified identifier, returnnull
. The set of available render kit identifiers is available via thegetRenderKitIds()
method.- Specified by:
getRenderKit
in classRenderKitFactory
- Parameters:
context
- FacesContext for the request currently being processed, ornull
if none is available.renderKitId
- Render kit identifier of the requestedRenderKit
instance- Returns:
- a
RenderKit
instance
-
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 byRenderKitFactory.HTML_BASIC_RENDER_KIT
.- Specified by:
getRenderKitIds
in classRenderKitFactory
- Returns:
- an
Iterator
over the set of render kit identifiers
-