org.activemath.webapp.evaluators
Class StandardReadEvaluator

java.lang.Object
  extended by org.activemath.webapp.evaluators.Evaluator
      extended by org.activemath.webapp.evaluators.ReadEvaluator
          extended by org.activemath.webapp.evaluators.StandardReadEvaluator

public class StandardReadEvaluator
extends ReadEvaluator

SimpleEyeTrackerReadEvaluator This one is to be used by Created: Wed Jan 9 13:17:16 2002


Field Summary
protected static Logger thisLogCat
           
 
Fields inherited from class org.activemath.webapp.evaluators.ReadEvaluator
log
 
Fields inherited from class org.activemath.webapp.evaluators.Evaluator
evaluationFunction, user
 
Constructor Summary
StandardReadEvaluator(User user)
           
 
Method Summary
protected  void doExampleEventEvaluation(String ExampleId, int historyRef)
           
protected  void doReadEventEvaluation(String conceptId, int historyRef)
           
 void elementHasBeenSeen(String id, String session, long start, long end)
           
 void endPageBrowsed(List ids, long time, String session, String page)
          Handle the event, that the user has finished reading a page.
protected  void evaluateItemRead(String itemId, String readTimeEstimate, int historyRef, String pageRef)
           
 void startPageBrowsed(List ids, long time, String session, String page)
          Set the current page as the page attribute of the evaluator.
 
Methods inherited from class org.activemath.webapp.evaluators.Evaluator
endExercise, initFunction, startExercise
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

thisLogCat

protected static Logger thisLogCat
Constructor Detail

StandardReadEvaluator

public StandardReadEvaluator(User user)
Method Detail

startPageBrowsed

public void startPageBrowsed(List ids,
                             long time,
                             String session,
                             String page)
Set the current page as the page attribute of the evaluator.

Overrides:
startPageBrowsed in class Evaluator

elementHasBeenSeen

public void elementHasBeenSeen(String id,
                               String session,
                               long start,
                               long end)
Overrides:
elementHasBeenSeen in class Evaluator
Parameters:
id - The id of the item that has been seen
session - the session in which the element has been seen
start - the start of reading timestamp
end - the end of reading timestamp

endPageBrowsed

public void endPageBrowsed(List ids,
                           long time,
                           String session,
                           String page)
Handle the event, that the user has finished reading a page. Currently, we don't have rules to handle it.

Overrides:
endPageBrowsed in class Evaluator

evaluateItemRead

protected void evaluateItemRead(String itemId,
                                String readTimeEstimate,
                                int historyRef,
                                String pageRef)
Overrides:
evaluateItemRead in class ReadEvaluator
Parameters:
itemId -
readTimeEstimate -
historyRef -
pageRef -

doExampleEventEvaluation

protected void doExampleEventEvaluation(String ExampleId,
                                        int historyRef)
Overrides:
doExampleEventEvaluation in class ReadEvaluator
Parameters:
ExampleId -
historyRef -

doReadEventEvaluation

protected void doReadEventEvaluation(String conceptId,
                                     int historyRef)
Overrides:
doReadEventEvaluation in class ReadEvaluator
Parameters:
conceptId -
historyRef -