org.activemath.webapp.exercises
Class DRConsoleController

java.lang.Object
  extended by org.infohazard.maverick.ctl.Throwaway2
      extended by org.infohazard.maverick.ctl.ThrowawayBean2
          extended by org.activemath.webapp.base.ControllerBase
              extended by org.activemath.webapp.exercises.ExerciseController
                  extended by org.activemath.webapp.exercises.DRConsoleController
All Implemented Interfaces:
Controller

public class DRConsoleController
extends ExerciseController


Nested Class Summary
 
Nested classes/interfaces inherited from class org.activemath.webapp.exercises.ExerciseController
ExerciseController.ExerciseSheetItem
 
Field Summary
protected static org.jdom.Namespace dublinCoreNamespace
           
protected static Logger log
          The logger for this class
protected static OpenMath om
           
protected static org.jdom.Namespace omdocNamespace
           
 
Fields inherited from class org.activemath.webapp.exercises.ExerciseController
_teacherAssistant, _userInputHistory, bookId, confidence, confidenceEnabled, config, defaultInputSyntax, displayOutputFormatOptions, displayUserInputSyntaxOptions, EXERCISE_CONTAINER, exerciseId, exerciseSheetItems, isAssessment, logExerciseResult, presentationStrategy, showFinishButton, speechContent, strategy, type, userInput, userInputDelay, userInputPartition, userInputPosition, userInputSyntax, userRequests, vmFileName
 
Fields inherited from class org.activemath.webapp.base.ControllerBase
appContext, defaultContentType, JSON, REDIRECT, REDIRECT_LOGIN, request, response, stopwatch
 
Fields inherited from class org.infohazard.maverick.ctl.Throwaway2
ERROR, SUCCESS
 
Constructor Summary
DRConsoleController()
           
 
Method Summary
protected  String action()
          Implements the controller's action
protected  org.jdom.Document buildExerciseContent()
           
protected  void initExercise(User user)
           
 
Methods inherited from class org.activemath.webapp.exercises.ExerciseController
checkRedirect, destroyExercise, getBookId, getPresentationStrategy, getVmFileName, initExercise, setAssessment, setBook, setBookId, setConfidence, setExerciseId, setInteractionManager, setPresentationStrategy, setStrategy, setType, setUserInput, setUserInputDelay, setUserInputHistory, setUserInputPartition, setUserInputPosition, setUserInputSyntax, setVmFileName
 
Methods inherited from class org.activemath.webapp.base.ControllerBase
addError, addError, enableNoCache, escapeForHtmlSafety, getAccountManager, getAppSession, getCmdName, getCurrentUser, getErrors, getHttpSession, getLanguage, getModel, getOutputFormat, getRequest, getResponse, getSkin, hasErrors, perform, publishControllerEvent, sendError, sendError, sendJson, sendLoginRequired, sendRedirect, sendRedirect, setPasswd, setUser
 
Methods inherited from class org.infohazard.maverick.ctl.ThrowawayBean2
go
 
Methods inherited from class org.infohazard.maverick.ctl.Throwaway2
getCtx, go
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static Logger log
The logger for this class


om

protected static OpenMath om

dublinCoreNamespace

protected static final org.jdom.Namespace dublinCoreNamespace

omdocNamespace

protected static final org.jdom.Namespace omdocNamespace
Constructor Detail

DRConsoleController

public DRConsoleController()
Method Detail

action

protected String action()
                 throws Exception
Implements the controller's action

Overrides:
action in class ExerciseController
Throws:
Exception
See Also:
org.activemath.presentation.servlets.controller.AMController#action()

initExercise

protected void initExercise(User user)
                     throws IOException
Throws:
IOException

buildExerciseContent

protected org.jdom.Document buildExerciseContent()