Name

Renderer

Synopsis

This abstract class defines all methods that concrete renderer subclasses implement.

Class name:

javax.faces.render.Renderer

Extends:

None

Implements:

None

Constructor

public Renderer()

Creates a new instance.

Methods

public String convertClientId(javax.faces.context.FacesContext, String clientId)

Returns a converted version of the client ID, if needed. This implementation returns the client ID unchanged.

public void decode(javax.faces.context.FacesContext, javax.faces.component.UIComponent component)

Extracts the value for the component from the request, and configures the component with the submitted value or queues an event for the component. This implementation does nothing.

public void encodeBegin(javax.faces.context.FacesContext, javax.faces.component.UIComponent component)throws java.io.IOException

Renders the beginning of the component value, such as a start tag. This implementation does nothing.

public void encodeChildren(javax.faces.context.FacesContext, javax.faces.component.UIComponent component) throws java.io.IOException

Renders all component children, called only if the component returns true from getRendersChildren( ). This implementation does nothing.

public void encodeEnd(javax.faces.context.FacesContext, javax.faces.component.UIComponent component)throws java.io.IOException

Renders the end of the component value, such as an element value and the end tag. This implementation does nothing.

public Object getConvertedValue(javax.faces.context.FacesContext, ...

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.