package com.grayben.riskExtractor.htmlScorer.elementScorers;


/**
 * Element scorer interface. Provide an implementing class to {@link ScoringAndFlatteningVisitor}.
 * <p/>
 * This interface contains a single method that takes an {@link org.jsoup.nodes.Element} and returns a score.
 * @author beng
 *
 */
public interface ElementScorer<T> {
	
	/**
	 * 
	 * @param input the Element to score
	 * @return the score of element
	 */
	public int score(T input);
}

package com.grayben.riskExtractor.htmlScorer.elementScorers;


import org.jsoup.nodes.Element;

/**
 * Element scorer interface. Provide an implementing class to {@link ScoringAndFlatteningVisitor}.
 * <p/>
 * This interface contains a single method that takes an {@link org.jsoup.nodes.Element} and returns a score.
 * @author beng
 *
 */
public interface ElementScorer {
	
	/**
	 * 
	 * @param input the Element to score
	 * @return the score of element
	 */
	public int score(Element input);
}

Remove generic type, use com.jsoup.nodes.Element type
Remove generic type, use com.jsoup.nodes.Element type
