|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xalan.xsltc.runtime.AttributeList
public class AttributeList
| Constructor Summary | |
|---|---|
AttributeList()
AttributeList constructor |
|
AttributeList(Attributes attributes)
Attributes clone constructor |
|
| Method Summary | |
|---|---|
void |
add(String qname,
String value)
Adds an attribute to the list |
void |
clear()
Clears the attribute list |
int |
getIndex(String qname)
SAX2: Look up the index of an attribute by XML 1.0 qualified name. |
int |
getIndex(String namespaceURI,
String localPart)
SAX2: Look up the index of an attribute by Namespace name. |
int |
getLength()
SAX2: Return the number of attributes in the list. |
String |
getLocalName(int index)
SAX2: Look up an attribute's local name by index. |
String |
getQName(int pos)
Return the name of an attribute in this list (by position). |
String |
getType(int index)
SAX2: Look up an attribute's type by index. |
String |
getType(String qname)
SAX2: Look up an attribute's type by qname. |
String |
getType(String uri,
String localName)
SAX2: Look up an attribute's type by Namespace name. |
String |
getURI(int index)
SAX2: Look up an attribute's Namespace URI by index. |
String |
getValue(int pos)
SAX2: Look up an attribute's value by index. |
String |
getValue(String qname)
SAX2: Look up an attribute's value by qname. |
String |
getValue(String uri,
String localName)
SAX2: Look up an attribute's value by Namespace name - SLOW! |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeList()
public AttributeList(Attributes attributes)
| Method Detail |
|---|
public int getLength()
getLength in interface Attributespublic String getURI(int index)
getURI in interface Attributespublic String getLocalName(int index)
getLocalName in interface Attributespublic String getQName(int pos)
getQName in interface Attributespublic String getType(int index)
getType in interface Attributes
public int getIndex(String namespaceURI,
String localPart)
getIndex in interface Attributespublic int getIndex(String qname)
getIndex in interface Attributes
public String getType(String uri,
String localName)
getType in interface Attributespublic String getType(String qname)
getType in interface Attributespublic String getValue(int pos)
getValue in interface Attributespublic String getValue(String qname)
getValue in interface Attributes
public String getValue(String uri,
String localName)
getValue in interface Attributes
public void add(String qname,
String value)
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||