|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.buildtools.maven2.plugin.builder.qdox._TagAttributes
public final class _TagAttributes
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
,
org.apache.myfaces.view.facelets.tag.TagAttributeImpl
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 |
---|
public _TagAttributes(_TagAttribute[] attrs)
Method Detail |
---|
public _TagAttribute[] getAll()
public _TagAttribute get(String localName)
localName
- tag attribute name
get(String, String)
public _TagAttribute get(String ns, String localName)
ns
- namespace of the desired attributelocalName
- local name of the attribute
public _TagAttribute[] getAll(String namespace)
namespace
- namespace to search
public String[] getNamespaces()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |