Name

RenderKit

Synopsis

An instance of a subclass of this abstract class represents a collection of Renderer instances for a specific rendering language, e.g., a markup language like HTML or WML, and is a provider of a ResponseStateManager responsible for encoding view state in a response as well as for configured ResponseStream and ResponseWriter instances.

Synopsis

Class name:

javax.faces.render.RenderKit

Extends:

None

Implements:

None

Constructors

public RenderKit()

Creates an instance.

Methods

public abstract void addRenderer(String family, String rendererType, javax.faces.render.Renderer renderer)

Adds the provided Renderer instance mapped to the specified family and renderer type combination.

public abstract javax.faces.context.ResponseStream createResponseStream(java.io.OutputStream)

Uses the provided stream to create and return a new ResponseStream instance.

public abstract javax.faces.context.ResponseWriter createResponseWriter(java.io.Writer, String contentTypeList, String characterEncoding)

Uses the provided Writer to create and return a new ResponseWriter instance for one of the listed content types (or the default if null) and the specified character encoding.

public abstract javax.faces.render.Renderer getRenderer(String family, String rendererType)

Returns a Renderer instance for the specified family and renderer type combination, or null if none is registered for this combination.

public abstract javax.faces.render.ResponseStateManager getResponseStateManager() ...

Get JavaServer Faces now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.