public void addAttributes(Attributes atts) throws SAXException {
  int nAtts=atts.getLength();
  for (int i=0; i < nAtts; i++) {
    String uri=atts.getURI(i);
    if (null == uri)     uri="";
    addAttributeAlways(uri,atts.getLocalName(i),atts.getQName(i),atts.getType(i),atts.getValue(i),false);
  }
}

public void addAttributes ( Attributes atts ) throws SAXException { int nAtts = atts . getLength ( ) ; for ( int i = 0 ; i < nAtts ; i ++ ) { String uri = atts . getURI ( i ) ; if ( null == uri ) uri = "" ; addAttributeAlways ( uri , atts . getLocalName ( i ) , atts . getQName ( i ) , atts . getType ( i ) , atts . getValue ( i ) , false ) ; } }
add the given attributes to the currently collected ones . these attributes are always added , regardless of whether on not an element is currently open .
