com.sun.facelets.tag
Class TagAttributes

java.lang.Object
  extended by com.sun.facelets.tag.TagAttributes

public final class TagAttributes
extends Object

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

Version:
$Id: TagAttributes.java,v 1.2 2005/08/24 04:38:48 jhook Exp $
Author:
Jacob Hookom
See Also:
Tag, TagAttribute

Constructor Summary
TagAttributes(TagAttribute[] attrs)
           
 
Method Summary
 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 TagAttributes in this set
 TagAttribute[] getAll(String namespace)
          Get all TagAttributes for the passed namespace
 String[] getNamespaces()
          A list of Namespaces found in this set
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TagAttributes

public TagAttributes(TagAttribute[] attrs)
Method Detail

getAll

public TagAttribute[] getAll()
Return an array of all TagAttributes in this set

Returns:
a non-null array of TagAttributes

get

public TagAttribute get(String localName)
Using no namespace, find the TagAttribute

Parameters:
localName - tag attribute name
Returns:
the TagAttribute found, otherwise null
See Also:
get(String, String)

get

public TagAttribute get(String ns,
                        String localName)
Find a TagAttribute that matches the passed namespace and local name.

Parameters:
ns - namespace of the desired attribute
localName - local name of the attribute
Returns:
a TagAttribute found, otherwise null

getAll

public TagAttribute[] getAll(String namespace)
Get all TagAttributes for the passed namespace

Parameters:
namespace - namespace to search
Returns:
a non-null array of TagAttributes

getNamespaces

public String[] getNamespaces()
A list of Namespaces found in this set

Returns:
a list of Namespaces found in this set

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2005 All Rights Reserved.