public List < Element > append ( String name , Collection < String > values ) { List < Element > elements = new ArrayList < Element > ( values . size ( ) ) ; for ( String value : values ) { elements . add ( append ( name , value ) ) ; } return elements ; }
Adds multiple child elements each with the same name .