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 TypeMethodDescriptionvoid
Adds an attribute to the listvoid
clear()
Clears the attribute listint
SAX2: Look up the index of an attribute by XML 1.0 qualified name.int
SAX2: Look up the index of an attribute by Namespace name.int
SAX2: 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:
getLength
in interfaceAttributes
-
getURI
SAX2: Look up an attribute's Namespace URI by index.- Specified by:
getURI
in interfaceAttributes
-
getLocalName
SAX2: Look up an attribute's local name by index.- Specified by:
getLocalName
in interfaceAttributes
-
getQName
Return the name of an attribute in this list (by position).- Specified by:
getQName
in interfaceAttributes
-
getType
SAX2: Look up an attribute's type by index.- Specified by:
getType
in interfaceAttributes
-
getIndex
SAX2: Look up the index of an attribute by Namespace name.- Specified by:
getIndex
in interfaceAttributes
-
getIndex
SAX2: Look up the index of an attribute by XML 1.0 qualified name.- Specified by:
getIndex
in interfaceAttributes
-
getType
SAX2: Look up an attribute's type by Namespace name.- Specified by:
getType
in interfaceAttributes
-
getType
SAX2: Look up an attribute's type by qname.- Specified by:
getType
in interfaceAttributes
-
getValue
SAX2: Look up an attribute's value by index.- Specified by:
getValue
in interfaceAttributes
-
getValue
SAX2: Look up an attribute's value by qname.- Specified by:
getValue
in interfaceAttributes
-
getValue
SAX2: Look up an attribute's value by Namespace name - SLOW!- Specified by:
getValue
in interfaceAttributes
-
add
Adds an attribute to the list -
clear
public void clear()Clears the attribute list
-