org.activemath.exercises.generators
Class STACKGenerator
java.lang.Object
org.activemath.exercises.openmath.OpenMath
org.activemath.exercises.InteractionGenerator
org.activemath.exercises.generators.STACKGenerator
public class STACKGenerator
- extends InteractionGenerator
| Fields inherited from class org.activemath.exercises.InteractionGenerator |
activemathNamespace, dublinCoreNamespace, exercise, exerciseId, knownInteractions, localUserModel, localUserModelActive, masterGenerator, om, omdocNamespace, openmathNamespace, parameters, presentationStrategy, serializer, session, theoryId |
|
Method Summary |
static org.jdom.Element |
amdel(String name)
|
static org.jdom.Element |
blank(String id)
|
static org.jdom.Element |
br()
|
static org.jdom.Element |
cmp()
|
static org.jdom.Element |
cmp(List content)
|
static org.jdom.Element |
cmp(String content)
|
org.jdom.Element |
getInteraction()
Produce the initial node, where the exercise really starts. |
static org.jdom.Element |
omdel(String name)
|
static org.jdom.Element |
omel(String name)
|
static org.jdom.Element |
with()
|
static org.jdom.Element |
with(String style)
|
| Methods inherited from class org.activemath.exercises.InteractionGenerator |
abort, getAnswerEvaluator, getExerciseDocument, getExerciseId, getFeedback, getInteraction, getName, getParameters, getPresentationStrategy, getSession, getTheoryId, hasAnswerMap, isStrategy, setExerciseDocument, setExerciseId, setIsStrategy, setLang, setMasterGenerator, setName, setParameters, setPresentationStrategy, setSession, setTheoryId |
| Methods inherited from class org.activemath.exercises.openmath.OpenMath |
applyBinding, getOmobjContents, oma, oma, oma, oma, oma, ombind, ombind, ombind, ombind, ombind, ombvar, ombvar, ombvar, ombvar, ome, ome, ome, ome, omf, omf, omi, omi, omobj, oms, omstr, omv, output, setOmNamespace, substituteVariables, tidyForOpenMath1, toDouble, toInt |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STACKGenerator
public STACKGenerator(LocalUserModel localUserModel)
getInteraction
public org.jdom.Element getInteraction()
- Description copied from class:
InteractionGenerator
- Produce the initial node, where the exercise really starts.
- Overrides:
getInteraction in class InteractionGenerator
- Returns:
- JDOM element. Can be null only if the exercise item doesn't
have a root element.
omel
public static org.jdom.Element omel(String name)
omdel
public static org.jdom.Element omdel(String name)
amdel
public static org.jdom.Element amdel(String name)
br
public static org.jdom.Element br()
cmp
public static org.jdom.Element cmp()
cmp
public static org.jdom.Element cmp(String content)
cmp
public static org.jdom.Element cmp(List content)
with
public static org.jdom.Element with(String style)
with
public static org.jdom.Element with()
blank
public static org.jdom.Element blank(String id)