| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xml.utils.AttList
public class AttList
Wraps a DOM attribute list in a SAX Attributes.
| Field Summary | |
|---|---|
| (package private)  org.w3c.dom.NamedNodeMap | m_attrsList of attribute nodes | 
| (package private)  DOMHelper | m_dhLocal reference to DOMHelper | 
| (package private)  int | m_lastIndexIndex of last attribute node | 
| Constructor Summary | |
|---|---|
| AttList(org.w3c.dom.NamedNodeMap attrs,
               DOMHelper dh)Constructor AttList | |
| Method Summary | |
|---|---|
|  int | getIndex(java.lang.String qName)Look up the index of an attribute by raw XML 1.0 name. | 
|  int | getIndex(java.lang.String uri,
                 java.lang.String localPart)Look up the index of an attribute by Namespace name. | 
|  int | getLength()Get the number of attribute nodes in the list | 
|  java.lang.String | getLocalName(int index)Look up an attribute's local name by index. | 
|  java.lang.String | getQName(int i)Look up an attribute's qualified name by index. | 
|  java.lang.String | getType(int i)Get the attribute's node type by index | 
|  java.lang.String | getType(java.lang.String name)Get the attribute's node type by name | 
|  java.lang.String | getType(java.lang.String uri,
               java.lang.String localName)Look up an attribute's type by Namespace name. | 
|  java.lang.String | getURI(int index)Look up an attribute's Namespace URI by index. | 
|  java.lang.String | getValue(int i)Get the attribute's node value by index | 
|  java.lang.String | getValue(java.lang.String name)Look up an attribute's value by name. | 
|  java.lang.String | getValue(java.lang.String uri,
                 java.lang.String localName)Look up an attribute's value by Namespace name. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
org.w3c.dom.NamedNodeMap m_attrs
int m_lastIndex
DOMHelper m_dh
| Constructor Detail | 
|---|
public AttList(org.w3c.dom.NamedNodeMap attrs,
               DOMHelper dh)
attrs - List of attributes this will containdh - DOMHelper| Method Detail | 
|---|
public int getLength()
getLength in interface org.xml.sax.Attributespublic java.lang.String getURI(int index)
getURI in interface org.xml.sax.Attributesindex - The attribute index (zero-based).
public java.lang.String getLocalName(int index)
getLocalName in interface org.xml.sax.Attributesindex - The attribute index (zero-based).
public java.lang.String getQName(int i)
getQName in interface org.xml.sax.Attributesi - The attribute index (zero-based).
public java.lang.String getType(int i)
getType in interface org.xml.sax.Attributesi - The attribute index (zero-based)
public java.lang.String getValue(int i)
getValue in interface org.xml.sax.Attributesi - The attribute index (zero-based)
public java.lang.String getType(java.lang.String name)
getType in interface org.xml.sax.Attributesname - Attribute name
public java.lang.String getType(java.lang.String uri,
                                java.lang.String localName)
getType in interface org.xml.sax.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 getValue(java.lang.String name)
getValue in interface org.xml.sax.Attributesname - The attribute node's name
public java.lang.String getValue(java.lang.String uri,
                                 java.lang.String localName)
getValue in interface org.xml.sax.Attributesuri - The Namespace URI, or the empty String if the
        name has no Namespace URI.localName - The local name of the attribute.
public int getIndex(java.lang.String uri,
                    java.lang.String localPart)
getIndex in interface org.xml.sax.Attributesuri - 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 org.xml.sax.AttributesqName - The qualified (prefixed) name.
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||