Top Description Constructors Methods
javax.faces.view.facelets

public abstract Class TagAttributes

extends Object
Class Inheritance

A set of TagAttributes, usually representing all attributes on a Tag.

Since
2.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract TagAttribute

Returns:

the TagAttribute found, otherwise null
get
(String
tag attribute name
localName
)

Using no namespace, find the TagAttribute

public abstract TagAttribute

Returns:

a TagAttribute found, otherwise null
get
(String
namespace of the desired attribute
ns
,
String
local name of the attribute
localName
)

Find a TagAttribute that matches the passed namespace and local name.

public abstract TagAttribute[]

Returns:

a non-null array of TagAttributes
getAll
()

Return an array of all TagAttributes in this set

public abstract TagAttribute[]

Returns:

a non-null array of TagAttributes
getAll
(String
namespace to search
namespace
)

Get all TagAttributes for the passed namespace

public abstract String[]

Returns:

a list of Namespaces found in this set
getNamespaces
()

A list of Namespaces found in this set

public Tag

Returns:

the Tag for which this class represents the attributes.
getTag
()

A reference to the Tag for which this class represents the attributes.

public void
setTag(Tag
the parent tag.
tag
)

Set a reference to the Tag for which this class represents the attributes.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

TagAttributesback to summary
public TagAttributes()

Method Detail

getback to summary
public abstract TagAttribute get(String localName)

Using no namespace, find the TagAttribute

Parameters
localName:String

tag attribute name

Returns:TagAttribute

the TagAttribute found, otherwise null

See Also
get(String, String)
getback to summary
public abstract TagAttribute get(String ns, String localName)

Find a TagAttribute that matches the passed namespace and local name.

Parameters
ns:String

namespace of the desired attribute

localName:String

local name of the attribute

Returns:TagAttribute

a TagAttribute found, otherwise null

getAllback to summary
public abstract TagAttribute[] getAll()

Return an array of all TagAttributes in this set

Returns:TagAttribute[]

a non-null array of TagAttributes

getAllback to summary
public abstract TagAttribute[] getAll(String namespace)

Get all TagAttributes for the passed namespace

Parameters
namespace:String

namespace to search

Returns:TagAttribute[]

a non-null array of TagAttributes

getNamespacesback to summary
public abstract String[] getNamespaces()

A list of Namespaces found in this set

Returns:String[]

a list of Namespaces found in this set

getTagback to summary
public Tag getTag()

A reference to the Tag for which this class represents the attributes. For compatibility with previous implementations, an implementation is provided that returns null.

Returns:Tag

the Tag for which this class represents the attributes.

Since
2.2
setTagback to summary
public void setTag(Tag tag)

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.

Parameters
tag:Tag

the parent tag.

Since
2.2