All Downloads are FREE. Search and download functionalities are using the official Maven repository.

stalkr.html.parser.WrappedListOfElementSetter Maven / Gradle / Ivy

There is a newer version: 0.3.1
Show newest version
package stalkr.html.parser;

import java.util.ArrayList;
import java.util.List;

import lombok.val;

import org.jsoup.nodes.Element;

public class WrappedListOfElementSetter implements Setter {

	final List listOfSetters = new ArrayList();

	@Override
	public void bind( Element document, Object instance ) {
		for ( val setter : listOfSetters )
			setter.bind( document, instance );
	}

	public void wrap( Setter setter ) {
		listOfSetters.add( setter );
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy