Package org.primefaces.component.badge
Class BadgeRenderer
- java.lang.Object
-
- javax.faces.render.Renderer
-
- org.primefaces.renderkit.CoreRenderer
-
- org.primefaces.component.badge.BadgeRenderer
-
public class BadgeRenderer extends CoreRenderer
-
-
Constructor Summary
Constructors Constructor Description BadgeRenderer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T extends javax.faces.component.UIComponent>
voidencode(javax.faces.context.FacesContext context, Object badge, IOBiConsumer<javax.faces.context.FacesContext,T> contentRenderer, T component)
protected void
encode(javax.faces.context.FacesContext context, Badge badge, BadgeModel badgeModel, boolean renderChildren)
void
encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
void
encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
protected void
encodeOverlayBegin(javax.faces.context.FacesContext context, String clientId)
protected void
encodeOverlayEnd(javax.faces.context.FacesContext context)
boolean
getRendersChildren()
-
Methods inherited from class org.primefaces.renderkit.CoreRenderer
buildAjaxRequest, buildAjaxRequest, buildAjaxRequest, buildDomEvent, buildNonAjaxRequest, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endsWithLenghtUnit, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getStyleBuilder, getStyleClassBuilder, getWidgetBuilder, isGrouped, isValueBlank, preConfiguredAjaxRequestBuilder, preConfiguredAjaxRequestBuilder, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDummyMarkup, renderDynamicPassThruAttributes, renderHiddenInput, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId
-
-
-
-
Method Detail
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
- Overrides:
encodeEnd
in classjavax.faces.render.Renderer
- Throws:
IOException
-
encode
public static <T extends javax.faces.component.UIComponent> void encode(javax.faces.context.FacesContext context, Object badge, IOBiConsumer<javax.faces.context.FacesContext,T> contentRenderer, T component) throws IOException
- Throws:
IOException
-
encodeOverlayBegin
protected void encodeOverlayBegin(javax.faces.context.FacesContext context, String clientId) throws IOException
- Throws:
IOException
-
encodeOverlayEnd
protected void encodeOverlayEnd(javax.faces.context.FacesContext context) throws IOException
- Throws:
IOException
-
encode
protected void encode(javax.faces.context.FacesContext context, Badge badge, BadgeModel badgeModel, boolean renderChildren) throws IOException
- Throws:
IOException
-
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
- Overrides:
encodeChildren
in classjavax.faces.render.Renderer
- Throws:
IOException
-
getRendersChildren
public boolean getRendersChildren()
- Overrides:
getRendersChildren
in classjavax.faces.render.Renderer
-
-