org.activemath.webapp.exercises
Class CasConsoleController
java.lang.Object
org.infohazard.maverick.ctl.Throwaway2
org.infohazard.maverick.ctl.ThrowawayBean2
org.activemath.webapp.base.ControllerBase
org.activemath.webapp.exercises.ExerciseController
org.activemath.webapp.exercises.CasConsoleController
- All Implemented Interfaces:
- Controller
public class CasConsoleController
- extends ExerciseController
Generate a bean for a Computer Algebra System console pseduo-exercise. Request parameters:
| 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 |
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
CasConsoleController
public CasConsoleController()
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()