question: private void writeAttributes ( Attributes atts ) throws SAXException { int len = atts . getLength ( ) ; for ( int i = 0 ; i < len ; i ++ ) { write ( ' ' ) ; writeName ( atts . getURI ( i ) , atts . getLocalName ( i ) , atts . getQName ( i ) , false ) ; if ( htmlMode && booleanAttribute ( atts . getLocalName ( i ) , atts . getQName ( i ) , atts . getValue ( i ) ) ) break ; write ( "=\"" ) ; String s = atts . getValue ( i ) ; writeEscUTF16 ( s , 0 , s . length ( ) , true ) ; write ( '"' ) ; } }
target:  Write out an attribute list, escaping values. <p> The names will have prefixes added to them.