protected final List<Element> generateSimpleElementList(final String name, final List<String> values) {
        final List<Element> elements = new ArrayList<Element>();
        for (final String value : values) {
            elements.add(generateSimpleElement(name, value));
        }
        return elements;
    }
protected final List < Element > generateSimpleElementList ( final String name , final List < String > values ) { final List < Element > elements = new ArrayList < Element > ( ) ; for ( final String value : values ) { elements . add ( generateSimpleElement ( name , value ) ) ; } return elements ; }
Utility method to generate a list of simple elements.
<p>

@param name the name of the element list to generate.
@param values the list of values for the elements.
@return a list of Elements created.