public final class TagAttributesImpl extends TagAttributes
TagAttribute
Constructor and Description |
---|
TagAttributesImpl(TagAttribute[] attrs) |
Modifier and Type | Method and Description |
---|---|
TagAttribute |
get(String localName)
Using no namespace, find the TagAttribute
|
TagAttribute |
get(String ns,
String localName)
Find a TagAttribute that matches the passed namespace and local name.
|
TagAttribute[] |
getAll()
Return an array of all TagAttributesImpl in this set
|
TagAttribute[] |
getAll(String namespace)
Get all TagAttributesImpl for the passed namespace
|
String[] |
getNamespaces()
A list of Namespaces found in this set
|
Tag |
getTag()
A reference to the Tag for which this class represents the attributes. |
void |
setTag(Tag tag)
Set a reference to the Tag for which this class represents the attributes. |
String |
toString() |
public TagAttributesImpl(TagAttribute[] attrs)
public TagAttribute[] getAll()
getAll
in class TagAttributes
public TagAttribute get(String localName)
get
in class TagAttributes
localName
- tag attribute nameget(String, String)
public TagAttribute get(String ns, String localName)
get
in class TagAttributes
ns
- namespace of the desired attributelocalName
- local name of the attributepublic TagAttribute[] getAll(String namespace)
getAll
in class TagAttributes
namespace
- namespace to searchpublic String[] getNamespaces()
getNamespaces
in class TagAttributes
public Tag getTag()
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 TagAttributes
Tag
for which this class represents the attributes.public void setTag(Tag tag)
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 TagAttributes
tag
- the parent tag.Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.