|
||||||||||
| 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(javax.faces.view.facelets.TagAttribute[] attrs)
|
|
| Method Summary | |
|---|---|
javax.faces.view.facelets.TagAttribute |
get(java.lang.String localName)
Using no namespace, find the TagAttribute |
javax.faces.view.facelets.TagAttribute |
get(java.lang.String ns,
java.lang.String localName)
Find a TagAttribute that matches the passed namespace and local name. |
javax.faces.view.facelets.TagAttribute[] |
getAll()
Return an array of all TagAttributes in this set |
javax.faces.view.facelets.TagAttribute[] |
getAll(java.lang.String namespace)
Get all TagAttributes for the passed namespace |
java.lang.String[] |
getNamespaces()
A list of Namespaces found in this set |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TagAttributesImpl(javax.faces.view.facelets.TagAttribute[] attrs)
| Method Detail |
|---|
public javax.faces.view.facelets.TagAttribute[] getAll()
getAll in class javax.faces.view.facelets.TagAttributespublic javax.faces.view.facelets.TagAttribute get(java.lang.String localName)
get in class javax.faces.view.facelets.TagAttributeslocalName - tag attribute name
get(String, String)
public javax.faces.view.facelets.TagAttribute get(java.lang.String ns,
java.lang.String localName)
get in class javax.faces.view.facelets.TagAttributesns - namespace of the desired attributelocalName - local name of the attribute
public javax.faces.view.facelets.TagAttribute[] getAll(java.lang.String namespace)
getAll in class javax.faces.view.facelets.TagAttributesnamespace - namespace to search
public java.lang.String[] getNamespaces()
getNamespaces in class javax.faces.view.facelets.TagAttributespublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||