src/main/java/br/com/caelum/vraptor/html/tags/builders/ElementsBuilder.java
@SuppressWarnings({ "unchecked", "rawtypes" })
	public <X> X using(X formatter) {
		MethodInvocation formatterInvoker = new ElementsBuilderFormatterInvoker(formatter);
		return (X) proxifier.proxify(formatter.getClass(), formatterInvoker);
	}
/**
	 * <p>
	 * Uses a proxy to specify which method should be called for each element of
	 * the collection given at construction time. Intended to be used like
	 * <code>builder.using(object).formatterMethod(null)</code>
	 * </p>
	 *
	 * @param <X>
	 *            Type of the object which contains the formatter method
	 * @param formatter
	 *            The object which contains the formatter method
	 * @return A proxy of the same class as the given object
	 */

Uses a proxy to specify which method should be called for each element of
the collection given at construction time.

@param 
Type of the object which contains the formatter method
@param formatter
The object which contains the formatter method
@return A proxy of the same class as the given object
Uses a proxy to specify which method should be called for each element of the collection given at construction time . @param Type of the object which contains the formatter method @param formatter The object which contains the formatter method @return A proxy of the same class as the given object
@SuppressWarnings({ "unchecked", "rawtypes" })
	public <X> X using(X formatter) {
		MethodInvocation formatterInvoker = new ElementsBuilderFormatterInvoker(formatter);
		return (X) proxifier.proxify(formatter.getClass(), formatterInvoker);
	}
@ SuppressWarnings ( { "unchecked" , "rawtypes" } ) public < X > X using ( X formatter ) { MethodInvocation formatterInvoker = new ElementsBuilderFormatterInvoker ( formatter ) ; return ( X ) proxifier . proxify ( formatter . getClass ( ) , formatterInvoker ) ; }
<p>
 Uses a proxy to specify which method should be called for each element of
 the collection given at construction time.
<p > Uses a proxy to specify which method should be called for each element of the collection given at construction time .