question: @ Override public String toString ( ) { StringBuilder buf = new StringBuilder ( ) ; for ( NameValuePair pair : nameValuePairList ) { buf . append ( ' ' ) ; buf . append ( pair . getName ( ) ) ; buf . append ( '=' ) ; buf . append ( '"' ) ; buf . append ( getQuotedAttributeValue ( pair . getValue ( ) ) ) ; buf . append ( '"' ) ; } return buf . toString ( ) ; }
target:  Return the attribute list as a String which can be directly output as part of an XML tag.