public final class TagAttributesImpl
extends javax.faces.view.facelets.TagAttributes
TagAttribute
Constructor and Description |
---|
TagAttributesImpl(javax.faces.view.facelets.TagAttribute[] attrs) |
Modifier and Type | Method and Description |
---|---|
javax.faces.view.facelets.TagAttribute |
get(String localName)
Using no namespace, find the TagAttribute
|
javax.faces.view.facelets.TagAttribute |
get(String ns,
String localName)
Find a TagAttribute that matches the passed namespace and local name.
|
javax.faces.view.facelets.TagAttribute[] |
getAll()
Return an array of all TagAttributesImpl in this set
|
javax.faces.view.facelets.TagAttribute[] |
getAll(String namespace)
Get all TagAttributesImpl for the passed namespace
|
String[] |
getNamespaces()
A list of Namespaces found in this set
|
javax.faces.view.facelets.Tag |
getTag()
A reference to the Tag for which this class represents the attributes. |
void |
setTag(javax.faces.view.facelets.Tag tag)
Set a reference to the Tag for which this class represents the attributes. |
String |
toString() |
public TagAttributesImpl(javax.faces.view.facelets.TagAttribute[] attrs)
public javax.faces.view.facelets.TagAttribute[] getAll()
getAll
in class javax.faces.view.facelets.TagAttributes
public javax.faces.view.facelets.TagAttribute get(String localName)
get
in class javax.faces.view.facelets.TagAttributes
localName
- tag attribute nameget(String, String)
public javax.faces.view.facelets.TagAttribute get(String ns, String localName)
get
in class javax.faces.view.facelets.TagAttributes
ns
- namespace of the desired attributelocalName
- local name of the attributepublic javax.faces.view.facelets.TagAttribute[] getAll(String namespace)
getAll
in class javax.faces.view.facelets.TagAttributes
namespace
- namespace to searchpublic String[] getNamespaces()
getNamespaces
in class javax.faces.view.facelets.TagAttributes
public javax.faces.view.facelets.Tag getTag()
javax.faces.view.facelets.TagAttributes
A reference to the Tag for which this class
represents the attributes. For compatibility with previous
implementations, an implementation is provided that returns
null
.
getTag
in class javax.faces.view.facelets.TagAttributes
Tag
for which this class represents the attributes.public void setTag(javax.faces.view.facelets.Tag tag)
javax.faces.view.facelets.TagAttributes
Set a reference to the Tag for which this
class represents the attributes. The VDL runtime must ensure that this
method is called before any FaceletHandler
s for this element are instantiated. For compatibility
with previous implementations, a no-op implementation is provided.
setTag
in class javax.faces.view.facelets.TagAttributes
tag
- the parent tag.Copyright © 2010–2021 JBoss by Red Hat. All rights reserved.