Class RendererBase<T extends jakarta.faces.component.UIComponent>

    • Constructor Detail

      • RendererBase

        public RendererBase()
    • Method Detail

      • encodeBegin

        public final void encodeBegin​(jakarta.faces.context.FacesContext context,
                                      jakarta.faces.component.UIComponent component)
                               throws IOException
        Overrides:
        encodeBegin in class jakarta.faces.render.Renderer
        Throws:
        IOException
      • encodeBeginInternal

        public void encodeBeginInternal​(jakarta.faces.context.FacesContext context,
                                        T component)
                                 throws IOException
        Throws:
        IOException
      • encodeChildren

        public final void encodeChildren​(jakarta.faces.context.FacesContext context,
                                         jakarta.faces.component.UIComponent component)
                                  throws IOException
        Overrides:
        encodeChildren in class jakarta.faces.render.Renderer
        Throws:
        IOException
      • encodeChildrenInternal

        public void encodeChildrenInternal​(jakarta.faces.context.FacesContext context,
                                           T component)
                                    throws IOException
        Throws:
        IOException
      • encodeEnd

        public final void encodeEnd​(jakarta.faces.context.FacesContext context,
                                    jakarta.faces.component.UIComponent component)
                             throws IOException
        Overrides:
        encodeEnd in class jakarta.faces.render.Renderer
        Throws:
        IOException
      • encodeEndInternal

        public void encodeEndInternal​(jakarta.faces.context.FacesContext context,
                                      T component)
                               throws IOException
        Throws:
        IOException
      • decode

        public final void decode​(jakarta.faces.context.FacesContext context,
                                 jakarta.faces.component.UIComponent component)
        Overrides:
        decode in class jakarta.faces.render.Renderer
      • decodeInternal

        public void decodeInternal​(jakarta.faces.context.FacesContext context,
                                   T component)
      • getConvertedValue

        public Object getConvertedValue​(jakarta.faces.context.FacesContext facesContext,
                                        jakarta.faces.component.UIComponent component,
                                        Object submittedValue)
                                 throws jakarta.faces.convert.ConverterException
        Overrides:
        getConvertedValue in class jakarta.faces.render.Renderer
        Throws:
        jakarta.faces.convert.ConverterException
      • getConvertedValueInternal

        public Object getConvertedValueInternal​(jakarta.faces.context.FacesContext context,
                                                T component,
                                                Object submittedValue)
                                         throws jakarta.faces.convert.ConverterException
        Throws:
        jakarta.faces.convert.ConverterException
      • getCurrentValue

        protected String getCurrentValue​(jakarta.faces.context.FacesContext facesContext,
                                         T component)
      • getResponseWriter

        protected TobagoResponseWriter getResponseWriter​(jakarta.faces.context.FacesContext facesContext)
      • insideBegin

        protected void insideBegin​(jakarta.faces.context.FacesContext facesContext,
                                   HtmlElements inside)
      • insideEnd

        protected void insideEnd​(jakarta.faces.context.FacesContext facesContext,
                                 HtmlElements inside)
      • isInside

        protected boolean isInside​(jakarta.faces.context.FacesContext facesContext,
                                   HtmlElements inside)
      • insideBegin

        protected void insideBegin​(jakarta.faces.context.FacesContext facesContext,
                                   Facets inside)
      • insideEnd

        protected void insideEnd​(jakarta.faces.context.FacesContext facesContext,
                                 Facets inside)
      • isInside

        protected boolean isInside​(jakarta.faces.context.FacesContext facesContext,
                                   Facets inside)
      • encodeReload

        public void encodeReload​(jakarta.faces.context.FacesContext facesContext,
                                 AbstractUIReload reload)
                          throws IOException
        Special implementation for the reload facet (e.g. for tc:panel and tc:sheet).
        Throws:
        IOException
      • encodeBehavior

        protected void encodeBehavior​(TobagoResponseWriter writer,
                                      jakarta.faces.context.FacesContext facesContext,
                                      jakarta.faces.component.behavior.ClientBehaviorHolder holder)
                               throws IOException
        Renders the tobago-behavior tag.
        Throws:
        IOException
        Since:
        5.0
      • getBehaviorCommands

        protected CommandMap getBehaviorCommands​(jakarta.faces.context.FacesContext facesContext,
                                                 jakarta.faces.component.behavior.ClientBehaviorHolder clientBehaviorHolder)
      • decodeClientBehaviors

        protected void decodeClientBehaviors​(jakarta.faces.context.FacesContext facesContext,
                                             T component)
      • getFormattedValue

        protected String getFormattedValue​(jakarta.faces.context.FacesContext facesContext,
                                           T component,
                                           Object currentValue)
                                    throws jakarta.faces.convert.ConverterException
        Throws:
        jakarta.faces.convert.ConverterException
      • getConverter

        protected jakarta.faces.convert.Converter getConverter​(jakarta.faces.context.FacesContext facesContext,
                                                               T component,
                                                               Object value)
        May return null, if no converter can be find.