Class HtmlLinkRendererBase
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.apache.myfaces.renderkit.html.base.HtmlRenderer
-
- org.apache.myfaces.renderkit.html.base.HtmlLinkRendererBase
-
- Direct Known Subclasses:
HtmlLinkRenderer
public abstract class HtmlLinkRendererBase extends HtmlRenderer
-
-
Field Summary
Fields Modifier and Type Field Description static StringEND_LINK_OUTCOME_AS_SPAN-
Fields inherited from class javax.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY
-
-
Constructor Summary
Constructors Constructor Description HtmlLinkRendererBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringbuildServerOnclick(FacesContext facesContext, UIComponent component, String clientId, UIComponent form)voiddecode(FacesContext facesContext, UIComponent component)voidencodeBegin(FacesContext facesContext, UIComponent component)voidencodeChildren(FacesContext facesContext, UIComponent component)voidencodeEnd(FacesContext facesContext, UIComponent component)booleangetRendersChildren()protected StringgetStyle(FacesContext facesContext, UIComponent link)Can be overwritten by derived classes to overrule the style to be used.protected StringgetStyleClass(FacesContext facesContext, UIComponent link)Can be overwritten by derived classes to overrule the style class to be used.protected voidrenderBehaviorizedJavaScriptAnchorStart(FacesContext facesContext, ResponseWriter writer, UIComponent component, String clientId, Map<String,List<ClientBehavior>> behaviors, UIComponent formInfo)protected voidrenderCommandLinkEnd(FacesContext facesContext, UIComponent component)protected voidrenderCommandLinkStart(FacesContext facesContext, UIComponent component, String clientId, Object value, String style, String styleClass)protected voidrenderJavaScriptAnchorStart(FacesContext facesContext, ResponseWriter writer, UIComponent component, String clientId, UIComponent form)protected voidrenderOutcomeLinkEnd(FacesContext facesContext, UIComponent component)protected voidrenderOutcomeLinkStart(FacesContext facesContext, UIOutcomeTarget output)protected voidrenderOutputLinkEnd(FacesContext facesContext, UIComponent component)protected voidrenderOutputLinkStart(FacesContext facesContext, UIOutput output)-
Methods inherited from class org.apache.myfaces.renderkit.html.base.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, renderId, shouldRenderId
-
Methods inherited from class javax.faces.render.Renderer
convertClientId, getConvertedValue
-
-
-
-
Field Detail
-
END_LINK_OUTCOME_AS_SPAN
public static final String END_LINK_OUTCOME_AS_SPAN
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildrenin classRenderer
-
decode
public void decode(FacesContext facesContext, UIComponent component)
-
encodeBegin
public void encodeBegin(FacesContext facesContext, UIComponent component) throws IOException
- Overrides:
encodeBeginin classRenderer- Throws:
IOException
-
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.
-
encodeChildren
public void encodeChildren(FacesContext facesContext, UIComponent component) throws IOException
- Overrides:
encodeChildrenin classRenderer- Throws:
IOException
-
encodeEnd
public void encodeEnd(FacesContext facesContext, UIComponent component) throws IOException
- Overrides:
encodeEndin classRenderer- Throws:
IOException
-
renderCommandLinkStart
protected void renderCommandLinkStart(FacesContext facesContext, UIComponent component, String clientId, Object value, String style, String styleClass) throws IOException
- Throws:
IOException
-
renderJavaScriptAnchorStart
protected void renderJavaScriptAnchorStart(FacesContext facesContext, ResponseWriter writer, UIComponent component, String clientId, UIComponent form) throws IOException
- Throws:
IOException
-
renderBehaviorizedJavaScriptAnchorStart
protected void renderBehaviorizedJavaScriptAnchorStart(FacesContext facesContext, ResponseWriter writer, UIComponent component, String clientId, Map<String,List<ClientBehavior>> behaviors, UIComponent formInfo) throws IOException
- Throws:
IOException
-
buildServerOnclick
protected String buildServerOnclick(FacesContext facesContext, UIComponent component, String clientId, UIComponent form) throws IOException
- Throws:
IOException
-
renderOutputLinkStart
protected void renderOutputLinkStart(FacesContext facesContext, UIOutput output) throws IOException
- Throws:
IOException
-
renderOutcomeLinkStart
protected void renderOutcomeLinkStart(FacesContext facesContext, UIOutcomeTarget output) throws IOException
- Throws:
IOException
-
renderOutcomeLinkEnd
protected void renderOutcomeLinkEnd(FacesContext facesContext, UIComponent component) throws IOException
- Throws:
IOException
-
renderOutputLinkEnd
protected void renderOutputLinkEnd(FacesContext facesContext, UIComponent component) throws IOException
- Throws:
IOException
-
renderCommandLinkEnd
protected void renderCommandLinkEnd(FacesContext facesContext, UIComponent component) throws IOException
- Throws:
IOException
-
-