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 TagAttributespublic TagAttribute get(String localName)
get in class TagAttributeslocalName - tag attribute nameget(String, String)public TagAttribute get(String ns, String localName)
get in class TagAttributesns - namespace of the desired attributelocalName - local name of the attributepublic TagAttribute[] getAll(String namespace)
getAll in class TagAttributesnamespace - namespace to searchpublic String[] getNamespaces()
getNamespaces in class TagAttributespublic 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 TagAttributesTag 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 FaceletHandlers for this element are instantiated. For compatibility with
previous implementations, a no-op implementation is provided.
setTag in class TagAttributestag - the parent tag.Copyright © 1997–2020 Eclipse Foundation. All rights reserved.