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 of Tag
to the TagHandler
instance that
is passed the TagConfig
in its constructor.
Constructor and Description |
---|
Tag(Location location,
String namespace,
String localName,
String qName,
TagAttributes attributes) |
Tag(Tag orig,
TagAttributes attributes) |
Modifier and Type | Method and Description |
---|---|
TagAttributes |
getAttributes()
Return an object encapsulating the
|
String |
getLocalName()
Return the XML local name of the tag. |
Location |
getLocation()
Return the |
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() |
public Tag(Location location, String namespace, String localName, String qName, TagAttributes attributes)
public Tag(Tag orig, TagAttributes attributes)
public TagAttributes getAttributes()
Return an object encapsulating the
TagAttributes
specified on this element in the view.
public String getLocalName()
Return the XML local name of the tag. For example, <my:tag /> would be "tag".
public Location getLocation()
Return the Location
of this
Tag
instance in the Facelet view.
public String getNamespace()
Return the resolved XML Namespace for this tag in the Facelets view.
public String getQName()
Return the XML qualified name for this tag. For example, <my:tag /> would be "my:tag".
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.