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);
}

@@ -56,16 +56,49 @@
 rers;%0A%0A%0A
+import org.jsoup.nodes.Element;%0A%0A
 /**%0A * E
@@ -367,11 +367,8 @@
 orer
-%3CT%3E
  %7B%0A%09
@@ -472,17 +472,23 @@
 t score(
-T
+Element
  input);

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