stalkr.html.parser.WrappedListOfElementSetter Maven / Gradle / Ivy
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