Package org.apache.xalan.xsltc.runtime
Class AttributeList
java.lang.Object
org.apache.xalan.xsltc.runtime.AttributeList
- All Implemented Interfaces:
Attributes
- Author:
- Morten Jorgensen
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeList constructorAttributeList(Attributes attributes) Attributes clone constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds an attribute to the listvoidclear()Clears the attribute listintSAX2: Look up the index of an attribute by XML 1.0 qualified name.intSAX2: Look up the index of an attribute by Namespace name.intSAX2: Return the number of attributes in the list.getLocalName(int index) SAX2: Look up an attribute's local name by index.getQName(int pos) Return the name of an attribute in this list (by position).getType(int index) SAX2: Look up an attribute's type by index.SAX2: Look up an attribute's type by qname.SAX2: Look up an attribute's type by Namespace name.getURI(int index) SAX2: Look up an attribute's Namespace URI by index.getValue(int pos) SAX2: Look up an attribute's value by index.SAX2: Look up an attribute's value by qname.SAX2: Look up an attribute's value by Namespace name - SLOW!
-
Constructor Details
-
AttributeList
public AttributeList()AttributeList constructor -
AttributeList
Attributes clone constructor
-
-
Method Details
-
getLength
public int getLength()SAX2: Return the number of attributes in the list.- Specified by:
getLengthin interfaceAttributes
-
getURI
SAX2: Look up an attribute's Namespace URI by index.- Specified by:
getURIin interfaceAttributes
-
getLocalName
SAX2: Look up an attribute's local name by index.- Specified by:
getLocalNamein interfaceAttributes
-
getQName
Return the name of an attribute in this list (by position).- Specified by:
getQNamein interfaceAttributes
-
getType
SAX2: Look up an attribute's type by index.- Specified by:
getTypein interfaceAttributes
-
getIndex
SAX2: Look up the index of an attribute by Namespace name.- Specified by:
getIndexin interfaceAttributes
-
getIndex
SAX2: Look up the index of an attribute by XML 1.0 qualified name.- Specified by:
getIndexin interfaceAttributes
-
getType
SAX2: Look up an attribute's type by Namespace name.- Specified by:
getTypein interfaceAttributes
-
getType
SAX2: Look up an attribute's type by qname.- Specified by:
getTypein interfaceAttributes
-
getValue
SAX2: Look up an attribute's value by index.- Specified by:
getValuein interfaceAttributes
-
getValue
SAX2: Look up an attribute's value by qname.- Specified by:
getValuein interfaceAttributes
-
getValue
SAX2: Look up an attribute's value by Namespace name - SLOW!- Specified by:
getValuein interfaceAttributes
-
add
Adds an attribute to the list -
clear
public void clear()Clears the attribute list
-