Class UIComponentTagBase

  • All Implemented Interfaces:
    javax.servlet.jsp.tagext.JspTag
    Direct Known Subclasses:
    UIComponentClassicTagBase

    public abstract class UIComponentTagBase
    extends Object
    implements javax.servlet.jsp.tagext.JspTag
    Since:
    1.2
    • Field Detail

      • log

        protected static final Logger log
    • Constructor Detail

      • UIComponentTagBase

        public UIComponentTagBase()
    • Method Detail

      • addChild

        protected abstract void addChild​(UIComponent child)
      • addFacet

        protected abstract void addFacet​(String name)
      • getComponentInstance

        public abstract UIComponent getComponentInstance()
      • getComponentType

        public abstract String getComponentType()
        Specify the "component type name" used together with the component's family and the Application object to create a UIComponent instance for this tag. This method is called by other methods in this class, and is intended to be overridden in subclasses to specify the actual component type to be created.
        Returns:
        a registered component type name, never null.
      • getCreated

        public abstract boolean getCreated()
        Returns:
      • getELContext

        protected javax.el.ELContext getELContext()
        Returns:
      • getFacesContext

        protected abstract FacesContext getFacesContext()
        Returns:
      • getIndexOfNextChildTag

        protected abstract int getIndexOfNextChildTag()
        Returns:
      • getRendererType

        public abstract String getRendererType()
        Specify the "renderer type name" used together with the current renderKit to get a Renderer instance for the corresponding UIComponent.

        A JSP tag can return null here to use the default renderer type string. If non-null is returned, then the UIComponent's setRendererType method will be called passing this value, and this will later affect the type of renderer object returned by UIComponent.getRenderer().

        Returns:
      • setId

        public abstract void setId​(String id)
        Parameters:
        id -