Class HtmlRenderer


public class HtmlRenderer extends AbstractRenderer

Renderer implementation for the html tag from the Struts-Faces Integration Library.

Version:
$Rev$ $Date$
  • Constructor Details

    • HtmlRenderer

      public HtmlRenderer()
  • Method Details

    • encodeBegin

      public void encodeBegin(FacesContext context, UIComponent component) throws IOException

      Render the beginning html tag.

      Overrides:
      encodeBegin in class AbstractRenderer
      Parameters:
      context - FacesContext for the current request
      component - UIComponent to be rendered
      Throws:
      IOException - if an input/output error occurs while rendering
      NullPointerException - if context or component is null
    • encodeEnd

      public void encodeEnd(FacesContext context, UIComponent component) throws IOException

      Render the end of the html element.

      Overrides:
      encodeEnd in class AbstractRenderer
      Parameters:
      context - FacesContext for the request we are processing
      component - UIComponent to be rendered
      Throws:
      IOException - if an input/output error occurs while rendering
      NullPointerException - if context or component is null
    • getCurrentLocale

      protected Locale getCurrentLocale(FacesContext context, UIComponent component)

      Return the current Locale for this request, creating a new one if necessary.

      Parameters:
      context - FacesContext for this request
      component - UIComponent we are rendering