javax.faces.webapp

Class UIComponentTagBase

    • Field Detail

      • log

        protected static final Logger log
    • Constructor Detail

      • UIComponentTagBase

        public UIComponentTagBase()
    • Method Detail

      • getFacesContext

        protected abstract FacesContext getFacesContext()

        Return the FacesContext instance for the current request. This value will be non-null only from the beginning of doStartTag() through the end of doEndTag() for each tag instance.

      • getELContext

        protected ELContext getELContext()

        Return the ELContext for the FacesContext for this request.

        This is a convenience for getFacesContext().getELContext().

      • addChild

        protected abstract void addChild(UIComponent child)

        Add the component identifier of the specified UIComponent to the list of component identifiers created or located by nested UIComponentTags processing this request.

        Parameters:
        child - New child whose identifier should be added
      • addFacet

        protected abstract void addFacet(String name)

        Add the facet name of the specified facet to the list of facet names created or located by nested UIComponentTags processing this request.

        Parameters:
        name - Facet name to be added
      • getComponentType

        public abstract String getComponentType()

        Return the component type for the component that is or will be bound to this tag. This value can be passed to Application.createComponent(java.lang.String) to create the UIComponent instance for this tag. Subclasses must override this method to return the appropriate value.

      • getRendererType

        public abstract String getRendererType()

        Return the rendererType property that selects the Renderer to be used for encoding this component, or null to ask the component to render itself directly. Subclasses must override this method to return the appropriate value.

      • getComponentInstance

        public abstract UIComponent getComponentInstance()

        Return the UIComponent instance that is associated with this tag instance. This method is designed to be used by tags nested within this tag, and only returns useful results between the execution of doStartTag() and doEndTag() on this tag instance.

      • getCreated

        public abstract boolean getCreated()

        Return true if we dynamically created a new component instance during execution of this tag. This method is designed to be used by tags nested within this tag, and only returns useful results between the execution of doStartTag() and doEndTag() on this tag instance.

      • getIndexOfNextChildTag

        protected abstract int getIndexOfNextChildTag()

        Return the index of the next child to be added as a child of this tag. The default implementation maintains a list of created components and returns the size of the list.

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Version en cache

21/08/2025 14:28:55 Cette version de la page est en cache (à la date du 21/08/2025 14:28:55) afin d'accélérer le traitement.
Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.

Document créé le 14/04/2008, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/faces/webapp/UIComponentTagBase.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, UIComponentTagBase (Java(TM) EE 7 Specification APIs)

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.