Class HtmlLinkRendererBase
java.lang.Object
jakarta.faces.render.Renderer
org.apache.myfaces.renderkit.html.base.HtmlRenderer
org.apache.myfaces.renderkit.html.base.HtmlLinkRendererBase
- Direct Known Subclasses:
HtmlLinkRenderer
-
Field Summary
FieldsFields inherited from class jakarta.faces.render.Renderer
PASSTHROUGH_RENDERER_LOCALNAME_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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) booleanprotected 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, shouldRenderIdMethods inherited from class jakarta.faces.render.Renderer
convertClientId, getConvertedValue
-
Field Details
-
END_LINK_OUTCOME_AS_SPAN
- See Also:
-
-
Constructor Details
-
HtmlLinkRendererBase
public HtmlLinkRendererBase()
-
-
Method Details
-
getRendersChildren
public boolean getRendersChildren()- Overrides:
getRendersChildrenin classRenderer
-
decode
-
encodeBegin
- Overrides:
encodeBeginin classRenderer- Throws:
IOException
-
getStyle
Can be overwritten by derived classes to overrule the style to be used. -
getStyleClass
Can be overwritten by derived classes to overrule the style class to be used. -
encodeChildren
- Overrides:
encodeChildrenin classRenderer- Throws:
IOException
-
encodeEnd
- 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
- 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
-