- java.lang.Object
-
- javax.faces.view.facelets.Tag
-
public final class Tag extends Object
The runtime must create an instance of this class for each element in the Facelets XHTML view. A
TagConfig
subinterface instance is responsible for providing an instance ofTag
to theTagHandler
instance that is passed theTagConfig
in its constructor.- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor and Description Tag(Location location, String namespace, String localName, String qName, TagAttributes attributes)
Tag(Tag orig, TagAttributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description TagAttributes
getAttributes()
Return an object encapsulating the
TagAttributes
specified on this element in the view.String
getLocalName()
Return the XML local name of the tag.
Location
getLocation()
Return the
Location
of thisTag
instance in the Facelet view.String
getNamespace()
Return the resolved XML Namespace for this tag in the Facelets view.
String
getQName()
Return the XML qualified name for this tag.
String
toString()
-
-
-
Constructor Detail
-
Tag
public Tag(Location location, String namespace, String localName, String qName, TagAttributes attributes)
-
Tag
public Tag(Tag orig, TagAttributes attributes)
-
-
Method Detail
-
getAttributes
public TagAttributes getAttributes()
Return an object encapsulating the
TagAttributes
specified on this element in the view.
-
getLocalName
public String getLocalName()
Return the XML local name of the tag. For example, <my:tag /> would be "tag".
-
getLocation
public Location getLocation()
Return the
Location
of thisTag
instance in the Facelet view.
-
getNamespace
public String getNamespace()
Return the resolved XML Namespace for this tag in the Facelets view.
-
getQName
public String getQName()
Return the XML qualified name for this tag. For example, <my:tag /> would be "my:tag".
-
-
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
22/08/2025 01:31:36 Cette version de la page est en cache (à la date du 22/08/2025 01:31:36) 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 11/06/2005, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/faces/view/facelets/Tag.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
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.