public abstract class HtmlLinkRendererBase extends HtmlRenderer
| Modifier and Type | Field and Description |
|---|---|
static String |
URL_STATE_MARKER |
static int |
URL_STATE_MARKER_LEN |
| Constructor and Description |
|---|
HtmlLinkRendererBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addHiddenCommandParameter(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent nestingForm,
String hiddenFieldName) |
void |
decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
void |
encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
void |
encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
protected FormInfo |
findNestingForm(javax.faces.component.UIComponent uiComponent,
javax.faces.context.FacesContext facesContext)
find nesting form
need to be overrideable to deal with dummyForm stuff in tomahawk. |
boolean |
getRendersChildren() |
protected String |
getStyle(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent link)
Can be overwritten by derived classes to overrule the style to be used.
|
protected String |
getStyleClass(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent link)
Can be overwritten by derived classes to overrule the style class to be used.
|
protected void |
renderCommandLinkEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
protected void |
renderCommandLinkStart(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
String clientId,
Object value,
String style,
String styleClass) |
protected void |
renderJavaScriptAnchorStart(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component,
String clientId) |
protected void |
renderNonJavaScriptAnchorStart(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component,
String clientId) |
protected void |
renderOutputLinkEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component) |
protected void |
renderOutputLinkStart(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIOutput output) |
getActionUrl, getChildCount, getChildren, getClientId, renderId, shouldRenderId, toUripublic static final String URL_STATE_MARKER
public static final int URL_STATE_MARKER_LEN
public boolean getRendersChildren()
getRendersChildren in class javax.faces.render.Rendererpublic void decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
decode in class javax.faces.render.Rendererpublic void encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
encodeBegin in class javax.faces.render.RendererIOExceptionprotected String getStyle(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent link)
protected String getStyleClass(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent link)
public void encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
encodeChildren in class javax.faces.render.RendererIOExceptionpublic void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
encodeEnd in class javax.faces.render.RendererIOExceptionprotected void renderCommandLinkStart(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
String clientId,
Object value,
String style,
String styleClass)
throws IOException
IOExceptionprotected void renderJavaScriptAnchorStart(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component,
String clientId)
throws IOException
IOExceptionprotected FormInfo findNestingForm(javax.faces.component.UIComponent uiComponent, javax.faces.context.FacesContext facesContext)
protected void addHiddenCommandParameter(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent nestingForm,
String hiddenFieldName)
protected void renderNonJavaScriptAnchorStart(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIComponent component,
String clientId)
throws IOException
IOExceptionprotected void renderOutputLinkStart(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIOutput output)
throws IOException
IOExceptionprotected void renderOutputLinkEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
IOExceptionprotected void renderCommandLinkEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
IOExceptionCopyright © 2013 Apache Software Foundation. All Rights Reserved.