org.apache.myfaces.renderkit.html

Class HtmlLinkRendererBase

Known Direct Subclasses:
HtmlLinkRenderer, HtmlSortHeaderRenderer, HtmlTreeImageCommandLinkRenderer, HtmlTreeNodeRenderer

public abstract class HtmlLinkRendererBase
extends HtmlRenderer

Version:
$Revision: 209840 $ $Date: 2005-07-08 18:51:06 +0200 (Fri, 08 Jul 2005) $
Author:
Manfred Geiler

Field Summary

static String
URL_STATE_MARKER
static int
URL_STATE_MARKER_LEN

Method Summary

void
decode(FacesContext facesContext, UIComponent component)
void
encodeBegin(FacesContext facesContext, UIComponent component)
void
encodeChildren(FacesContext facesContext, UIComponent component)
void
encodeEnd(FacesContext facesContext, UIComponent component)
boolean
getRendersChildren()
protected String
getStyle(FacesContext facesContext, UIComponent link)
Can be overwritten by derived classes to overrule the style to be used.
protected String
getStyleClass(FacesContext facesContext, UIComponent link)
Can be overwritten by derived classes to overrule the style class to be used.
protected void
renderCommandLinkStart(FacesContext facesContext, UIComponent component, String clientId, Object value, String style, String styleClass)
protected void
renderJavaScriptAnchorStart(FacesContext facesContext, ResponseWriter writer, UIComponent component, String clientId)
protected void
renderLinkEnd(FacesContext facesContext, UIComponent component)
protected void
renderNonJavaScriptAnchorStart(FacesContext facesContext, ResponseWriter writer, UIComponent component, String clientId)
protected void
renderOutputLinkStart(FacesContext facesContext, UIOutput output)

Methods inherited from class org.apache.myfaces.renderkit.html.HtmlRenderer

encodeChildren

Field Details

URL_STATE_MARKER

public static final String URL_STATE_MARKER

URL_STATE_MARKER_LEN

public static final int URL_STATE_MARKER_LEN

Method Details

decode

public void decode(FacesContext facesContext,
                   UIComponent component)

encodeBegin

public void encodeBegin(FacesContext facesContext,
                        UIComponent component)
            throws IOException

encodeChildren

public void encodeChildren(FacesContext facesContext,
                           UIComponent component)
            throws IOException
Overrides:
encodeChildren in interface HtmlRenderer

encodeEnd

public void encodeEnd(FacesContext facesContext,
                      UIComponent component)
            throws IOException

getRendersChildren

public boolean getRendersChildren()

getStyle

protected String getStyle(FacesContext facesContext,
                          UIComponent link)
Can be overwritten by derived classes to overrule the style to be used.

getStyleClass

protected String getStyleClass(FacesContext facesContext,
                               UIComponent link)
Can be overwritten by derived classes to overrule the style class to be used.

renderCommandLinkStart

protected void renderCommandLinkStart(FacesContext facesContext,
                                      UIComponent component,
                                      String clientId,
                                      Object value,
                                      String style,
                                      String styleClass)
            throws IOException

renderJavaScriptAnchorStart

protected void renderJavaScriptAnchorStart(FacesContext facesContext,
                                           ResponseWriter writer,
                                           UIComponent component,
                                           String clientId)
            throws IOException

renderLinkEnd

protected void renderLinkEnd(FacesContext facesContext,
                             UIComponent component)
            throws IOException

renderNonJavaScriptAnchorStart

protected void renderNonJavaScriptAnchorStart(FacesContext facesContext,
                                              ResponseWriter writer,
                                              UIComponent component,
                                              String clientId)
            throws IOException

renderOutputLinkStart

protected void renderOutputLinkStart(FacesContext facesContext,
                                     UIOutput output)
            throws IOException