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 String
buildServerOnclick
(FacesContext facesContext, UIComponent component, String clientId, UIComponent form) 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
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
renderBehaviorizedJavaScriptAnchorStart
(FacesContext facesContext, ResponseWriter writer, UIComponent component, String clientId, Map<String, List<ClientBehavior>> behaviors, UIComponent formInfo) protected void
renderCommandLinkEnd
(FacesContext facesContext, UIComponent component) 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, UIComponent form) protected void
renderOutcomeLinkEnd
(FacesContext facesContext, UIComponent component) protected void
renderOutcomeLinkStart
(FacesContext facesContext, UIOutcomeTarget output) protected void
renderOutputLinkEnd
(FacesContext facesContext, UIComponent component) protected void
renderOutputLinkStart
(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 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:
getRendersChildren
in classRenderer
-
decode
-
encodeBegin
- Overrides:
encodeBegin
in 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:
encodeChildren
in classRenderer
- Throws:
IOException
-
encodeEnd
- Overrides:
encodeEnd
in 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
-