Package com.sun.faces.facelets.tag
Class TagAttributesImpl
java.lang.Object
jakarta.faces.view.facelets.TagAttributes
com.sun.faces.facelets.tag.TagAttributesImpl
A set of TagAttributesImpl, usually representing all attributes on a Tag.
- Version:
- $Id$
- Author:
- Jacob Hookom
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionUsing no namespace, find the TagAttributeFind a TagAttribute that matches the passed namespace and local name.getAll()
Return an array of all TagAttributesImpl in this setGet all TagAttributesImpl for the passed namespaceString[]
A list of Namespaces found in this setgetTag()
A reference to the Tag for which this class represents the attributes.void
Set a reference to the Tag for which this class represents the attributes.toString()
-
Constructor Details
-
TagAttributesImpl
-
-
Method Details
-
getAll
Return an array of all TagAttributesImpl in this set- Specified by:
getAll
in classTagAttributes
- Returns:
- a non-null array of TagAttributesImpl
-
get
Using no namespace, find the TagAttribute- Specified by:
get
in classTagAttributes
- Parameters:
localName
- tag attribute name- Returns:
- the TagAttribute found, otherwise null
- See Also:
-
get
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
Get all TagAttributesImpl for the passed namespace- Specified by:
getAll
in classTagAttributes
- Parameters:
namespace
- namespace to search- Returns:
- a non-null array of TagAttributesImpl
-
getNamespaces
A list of Namespaces found in this set- Specified by:
getNamespaces
in classTagAttributes
- Returns:
- a list of Namespaces found in this set
-
getTag
Description copied from class: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
.- Overrides:
getTag
in classTagAttributes
- Returns:
- the
Tag
for which this class represents the attributes.
-
setTag
Description copied from class: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.- Overrides:
setTag
in classTagAttributes
- Parameters:
tag
- the parent tag.
-
toString
-