|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.apache.xalan.xsltc.runtime.AttributeList
| Constructor Summary | |
|---|---|
AttributeList()
AttributeList constructor |
|
AttributeList(Attributes attributes)
Attributes clone constructor |
|
| Method Summary | |
|---|---|
void |
add(java.lang.String qname,
java.lang.String value)
Adds an attribute to the list |
void |
clear()
Clears the attribute list |
int |
getIndex(java.lang.String qname)
SAX2: Look up the index of an attribute by XML 1.0 qualified name. |
int |
getIndex(java.lang.String namespaceURI,
java.lang.String localPart)
SAX2: Look up the index of an attribute by Namespace name. |
int |
getLength()
SAX2: Return the number of attributes in the list. |
java.lang.String |
getLocalName(int index)
SAX2: Look up an attribute's local name by index. |
java.lang.String |
getQName(int pos)
Return the name of an attribute in this list (by position). |
java.lang.String |
getType(int index)
SAX2: Look up an attribute's type by index. |
java.lang.String |
getType(java.lang.String qname)
SAX2: Look up an attribute's type by qname. |
java.lang.String |
getType(java.lang.String uri,
java.lang.String localName)
SAX2: Look up an attribute's type by Namespace name. |
java.lang.String |
getURI(int index)
SAX2: Look up an attribute's Namespace URI by index. |
java.lang.String |
getValue(int pos)
SAX2: Look up an attribute's value by index. |
java.lang.String |
getValue(java.lang.String qname)
SAX2: Look up an attribute's value by qname. |
java.lang.String |
getValue(java.lang.String uri,
java.lang.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 AttributesAttributes.getURI(int),
Attributes.getLocalName(int),
Attributes.getQName(int),
Attributes.getType(int),
Attributes.getValue(int)public java.lang.String getURI(int index)
getURI in interface Attributesindex - The attribute index (zero-based).
Attributes.getLength()public java.lang.String getLocalName(int index)
getLocalName in interface Attributesindex - The attribute index (zero-based).
Attributes.getLength()public java.lang.String getQName(int pos)
getQName in interface Attributespos - The attribute index (zero-based).
Attributes.getLength()public java.lang.String getType(int index)
getType in interface Attributesindex - The attribute index (zero-based).
Attributes.getLength()
public int getIndex(java.lang.String namespaceURI,
java.lang.String localPart)
getIndex in interface AttributesnamespaceURI - The Namespace URI, or the empty string if
the name has no Namespace URI.localPart - The attribute's local name.
public int getIndex(java.lang.String qname)
getIndex in interface Attributesqname - The qualified (prefixed) name.
public java.lang.String getType(java.lang.String uri,
java.lang.String localName)
getType in interface Attributesuri - The Namespace URI, or the empty String if the
name has no Namespace URI.localName - The local name of the attribute.
public java.lang.String getType(java.lang.String qname)
getType in interface Attributesqname - The XML 1.0 qualified name.
public java.lang.String getValue(int pos)
getValue in interface Attributespos - The attribute index (zero-based).
Attributes.getLength()public java.lang.String getValue(java.lang.String qname)
getValue in interface Attributesqname - The XML 1.0 qualified name.
public java.lang.String getValue(java.lang.String uri,
java.lang.String localName)
getValue in interface Attributesuri - The Namespace URI, or the empty String if the
name has no Namespace URI.localName - The local name of the attribute.
public void add(java.lang.String qname,
java.lang.String value)
public void clear()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||