public static void encodeHTML4DHTMLAttrs(ResponseWriter rw, Map<String, Object> attrs, String[] alist)
			throws IOException {
		// Encode attributes (HTML 4 + DHTML)

		for (String a : alist) {
			if (attrs.get(a) != null) {
				String val = A.asString(attrs.get(a));
				if (val != null && val.length() > 0) {
					rw.writeAttribute(a, val, a);
				}
			}
		}
	}
public static void encodeHTML4DHTMLAttrs ( ResponseWriter rw , Map < String , Object > attrs , String [ ] alist ) throws IOException { for ( String a : alist ) { if ( attrs . get ( a ) != null ) { String val = A . asString ( attrs . get ( a ) ) ; if ( val != null && val . length ( ) > 0 ) { rw . writeAttribute ( a , val , a ) ; } } } }
Encodes component attributes (HTML 4 + DHTML) TODO: replace this method
with CoreRenderer.renderPassThruAttributes()

@param rw
ResponseWriter instance
@param attrs
@param alist
@throws IOException