- 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".
-
-
Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/faces/view/facelets/Tag.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.