|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.view.facelets.TagAttributes
org.apache.myfaces.view.facelets.tag.TagAttributesImpl
public final class TagAttributesImpl
A set of TagAttributes, usually representing all attributes on a Tag. TODO: PROFILE - Explore the possibility of using HashMap instead of sorted arrays. The footprint should be higher, but the instanciation and access speed should be faster Instanciation: from O(n log n) to O(1) Access: from O(log n) to O(1)
org.apache.myfaces.view.facelets.tag.Tag,
TagAttributeImpl| Constructor Summary | |
|---|---|
TagAttributesImpl(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 |
|---|
public TagAttributesImpl(TagAttribute[] attrs)
| Method Detail |
|---|
public TagAttribute[] getAll()
getAll in class TagAttributespublic TagAttribute get(String localName)
get in class TagAttributeslocalName - tag attribute name
get(String, String)
public TagAttribute get(String ns,
String localName)
get in class TagAttributesns - namespace of the desired attributelocalName - local name of the attribute
public TagAttribute[] getAll(String namespace)
getAll in class TagAttributesnamespace - namespace to search
public String[] getNamespaces()
getNamespaces in class TagAttributespublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||