code: @Override
      public AttributeInfo getAttributeInfo() throws XMLStreamException
      {
          if (mCurrToken != START_ELEMENT) {
              throw new IllegalStateException(ErrorConsts.ERR_STATE_NOT_STELEM);
          }
          /* Although attribute collector knows about specific parsed
           * information, the element stack has DTD-derived information (if
           * any)... and knows how to call attribute collector when necessary.
           */
          return mElementStack;
      }
docs: // // StAX2, additional attribute access