Package javax.faces.view.facelets
Class Tag
- java.lang.Object
-
- javax.faces.view.facelets.Tag
-
public final class Tag extends java.lang.ObjectThe runtime must create an instance of this class for each element in the Facelets XHTML view. A
TagConfigsubinterface instance is responsible for providing an instance ofTagto theTagHandlerinstance that is passed theTagConfigin its constructor.- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description Tag(Tag orig, TagAttributes attributes)Tag(Location location, java.lang.String namespace, java.lang.String localName, java.lang.String qName, TagAttributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagAttributesgetAttributes()Return an object encapsulating theTagAttributesspecified on this element in the view.java.lang.StringgetLocalName()Return the XML local name of the tag.LocationgetLocation()Return theLocationof thisTaginstance in the Facelet view.java.lang.StringgetNamespace()Return the resolved XML Namespace for this tag in the Facelets view.java.lang.StringgetQName()Return the XML qualified name for this tag.java.lang.StringtoString()
-
-
-
Constructor Detail
-
Tag
public Tag(Location location, java.lang.String namespace, java.lang.String localName, java.lang.String qName, TagAttributes attributes)
-
Tag
public Tag(Tag orig, TagAttributes attributes)
-
-
Method Detail
-
getAttributes
public TagAttributes getAttributes()
Return an object encapsulating the
TagAttributesspecified on this element in the view.
-
getLocalName
public java.lang.String getLocalName()
Return the XML local name of the tag. For example, <my:tag /> would be "tag".
-
getLocation
public Location getLocation()
Return the
Locationof thisTaginstance in the Facelet view.
-
getNamespace
public java.lang.String getNamespace()
Return the resolved XML Namespace for this tag in the Facelets view.
-
getQName
public java.lang.String getQName()
Return the XML qualified name for this tag. For example, <my:tag /> would be "my:tag".
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-