Class Hierarchy All Classes All Fields and Methods
Class com.ibm.faces.renderkit.html_extended.HyperlinkRenderer
java.lang.Object javax.faces.render.Renderer com.sun.faces.renderkit.html_basic.HtmlBasicRenderer com.ibm.faces.renderkit.html_extended.HyperlinkRendererpublic class HyperlinkRenderer
extends HtmlBasicRendererRenderer for UIPanel component, that renders all component's children as one hyperlink.
Tags:
Components: UIPanel
Constructor Index Constructor Description HyperlinkRenderer()
Method Index Method Description void encodeBegin(FacesContext, UIComponent) Renders the beginning of the component. void encodeChildren(FacesContext, UIComponent) Renders component's children. void encodeEnd(FacesContext, UIComponent) Renders the ending of the component. void encodeRecursive(FacesContext, UIComponent) Renders nested children of panel by invoking the encode methods on the components.
Constructors
HyperlinkRenderer
public HyperlinkRenderer()
Methods
encodeBegin
public void encodeBegin(FacesContext context, UIComponent component) throws IOExceptionRenders the beginning of the component.
Doesn't need to do anything; all processing is done in encodeEnd.
- Parameters
- context - FacesContext for the request being processed
- component - UIComponent to be rendered
- Throws
- IOException if an input/output error occurs while rendering
- Overrides
- encodeBegin in class Renderer
- See Also
- encodeBegin
encodeChildren
public void encodeChildren(FacesContext context, UIComponent component) throws IOExceptionRenders component's children.
Doesn't need to do anything; all processing is done in encodeEnd and children render themselves.
- Parameters
- context - FacesContext for the request being processed
- component - UIComponent to be rendered
- Throws
- IOException if an input/output error occurs while rendering
- Overrides
- encodeChildren in class Renderer
- See Also
- encodeBegin
encodeEnd
public void encodeEnd(FacesContext context, UIComponent component) throws IOExceptionRenders the ending of the component.
Renders the entire component.
Creates an A tag and renders all child components inside it.
- Parameters
- context - FacesContext for the request we are processing
- component - UIComponent to be rendered
- Throws
- IOException if an input/output error occurs while rendering
- Overrides
- encodeEnd in class HtmlBasicRenderer
- See Also
- encodeEnd
encodeRecursive
protected void encodeRecursive(FacesContext context, UIComponent component) throws IOExceptionRenders nested children of panel by invoking the encode methods on the components. This handles components nested inside panel_data, panel_group tags.
Class Hierarchy All Classes All Fields and Methods