Class TagAttributesImpl
- java.lang.Object
-
- jakarta.faces.view.facelets.TagAttributes
-
- org.apache.myfaces.view.facelets.tag.TagAttributesImpl
-
public final class TagAttributesImpl extends TagAttributes
A set of TagAttributes, usually representing all attributes on a Tag. See org.apache.myfaces.view.facelets.tag.Tag See org.apache.myfaces.view.facelets.tag.TagAttributeImpl- Version:
- $Id$
- Author:
- Jacob Hookom
-
-
Constructor Summary
Constructors Constructor Description TagAttributesImpl(TagAttribute[] attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagAttribute
get(String localName)
Using no namespace, find the TagAttribute See #get(String, String)TagAttribute
get(String ns, String localName)
Find a TagAttribute that matches the passed namespace and local name.TagAttribute[]
getAll()
Return an array of all TagAttributes in this setTagAttribute[]
getAll(String namespace)
Get all TagAttributes for the passed namespaceString[]
getNamespaces()
A list of Namespaces found in this setString
toString()
-
Methods inherited from class jakarta.faces.view.facelets.TagAttributes
getTag, setTag
-
-
-
-
Constructor Detail
-
TagAttributesImpl
public TagAttributesImpl(TagAttribute[] attributes)
-
-
Method Detail
-
getAll
public TagAttribute[] getAll()
Return an array of all TagAttributes in this set- Specified by:
getAll
in classTagAttributes
- Returns:
- a non-null array of TagAttributes
-
get
public TagAttribute get(String localName)
Using no namespace, find the TagAttribute See #get(String, String)- Specified by:
get
in classTagAttributes
- Parameters:
localName
- tag attribute name- Returns:
- the TagAttribute found, otherwise null
-
get
public TagAttribute get(String ns, String localName)
Find a TagAttribute that matches the passed namespace and local name.- Specified by:
get
in classTagAttributes
- Parameters:
ns
- namespace of the desired attributelocalName
- local name of the attribute- Returns:
- a TagAttribute found, otherwise null
-
getAll
public TagAttribute[] getAll(String namespace)
Get all TagAttributes for the passed namespace- Specified by:
getAll
in classTagAttributes
- Parameters:
namespace
- namespace to search- Returns:
- a non-null array of TagAttributes
-
getNamespaces
public String[] getNamespaces()
A list of Namespaces found in this set- Specified by:
getNamespaces
in classTagAttributes
- Returns:
- a list of Namespaces found in this set
-
-