public static void addIteratorParams(
		ParamsAttribute paramsAttribute,
		String name,
		Iterator<?> values
	) throws JspTagException {
		NullArgumentException.checkNotNull(name, "name");
		if(values!=null) {
			while(values.hasNext()) {
				Object elem = values.next();
				if(elem!=null) {
					addParam(
						paramsAttribute,
						name,
						Coercion.toString(elem)
					);
				}
			}
		}
	}
public static void addIteratorParams ( ParamsAttribute paramsAttribute , String name , Iterator < ? > values ) throws JspTagException { NullArgumentException . checkNotNull ( name , "name" ) ; if ( values != null ) { while ( values . hasNext ( ) ) { Object elem = values . next ( ) ; if ( elem != null ) { addParam ( paramsAttribute , name , Coercion . toString ( elem ) ) ; } } } }
Adds a set of parameters to the given <code>ParamsAttribute</code> parent tag.
If value is null, no parameters are added.
If any element is null, the parameter is not added for the element.

@param  paramsAttribute  the parent tag that will receive the parameters
@param  name             the name of the parameter (required)