Class DOMReader.IndexedAttributeList

  • All Implemented Interfaces:
    org.xml.sax.Attributes
    Enclosing class:
    DOMReader

    protected static final class DOMReader.IndexedAttributeList
    extends java.lang.Object
    implements org.xml.sax.Attributes
    Implementation of Attributes - used to pass along a given node's attributes to the startElement method of the reader's content handler.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addAttribute​(org.w3c.dom.Attr attribute)  
      int getIndex​(java.lang.String qname)  
      int getIndex​(java.lang.String uri, java.lang.String localName)  
      int getLength()  
      java.lang.String getLocalName​(int index)  
      java.lang.String getQName​(int index)  
      java.lang.String getType​(int index)  
      java.lang.String getType​(java.lang.String qname)  
      java.lang.String getType​(java.lang.String namespaceUri, java.lang.String localName)  
      java.lang.String getURI​(int index)  
      java.lang.String getValue​(int index)  
      java.lang.String getValue​(java.lang.String qname)  
      java.lang.String getValue​(java.lang.String uri, java.lang.String localName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IndexedAttributeList

        public IndexedAttributeList()
    • Method Detail

      • addAttribute

        public void addAttribute​(org.w3c.dom.Attr attribute)
      • getQName

        public java.lang.String getQName​(int index)
        Specified by:
        getQName in interface org.xml.sax.Attributes
      • getType

        public java.lang.String getType​(java.lang.String namespaceUri,
                                        java.lang.String localName)
        Specified by:
        getType in interface org.xml.sax.Attributes
      • getType

        public java.lang.String getType​(int index)
        Specified by:
        getType in interface org.xml.sax.Attributes
      • getType

        public java.lang.String getType​(java.lang.String qname)
        Specified by:
        getType in interface org.xml.sax.Attributes
      • getIndex

        public int getIndex​(java.lang.String qname)
        Specified by:
        getIndex in interface org.xml.sax.Attributes
      • getIndex

        public int getIndex​(java.lang.String uri,
                            java.lang.String localName)
        Specified by:
        getIndex in interface org.xml.sax.Attributes
      • getLength

        public int getLength()
        Specified by:
        getLength in interface org.xml.sax.Attributes
      • getLocalName

        public java.lang.String getLocalName​(int index)
        Specified by:
        getLocalName in interface org.xml.sax.Attributes
      • getURI

        public java.lang.String getURI​(int index)
        Specified by:
        getURI in interface org.xml.sax.Attributes
      • getValue

        public java.lang.String getValue​(int index)
        Specified by:
        getValue in interface org.xml.sax.Attributes
      • getValue

        public java.lang.String getValue​(java.lang.String qname)
        Specified by:
        getValue in interface org.xml.sax.Attributes
      • getValue

        public java.lang.String getValue​(java.lang.String uri,
                                         java.lang.String localName)
        Specified by:
        getValue in interface org.xml.sax.Attributes