|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdom.Content
org.jdom.Element
org.activemath.webapp.exercises.tools.Interaction
public class Interaction
| Nested Class Summary | |
|---|---|
class |
Interaction.AnswermapItem
|
class |
Interaction.FeedbackItem
|
class |
Interaction.InteractionElement
|
| Field Summary |
|---|
| Fields inherited from class org.jdom.Element |
|---|
additionalNamespaces, name, namespace |
| Constructor Summary | |
|---|---|
Interaction(String interactionId,
boolean head)
|
|
| Methods inherited from class org.jdom.Element |
|---|
addContent, addContent, addContent, addContent, addContent, addNamespaceDeclaration, clone, cloneContent, getAdditionalNamespaces, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValue, getChild, getChild, getChildren, getChildren, getChildren, getChildText, getChildText, getChildTextNormalize, getChildTextNormalize, getChildTextTrim, getChildTextTrim, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getName, getNamespace, getNamespace, getNamespacePrefix, getNamespaceURI, getQualifiedName, getText, getTextNormalize, getTextTrim, getValue, indexOf, isAncestor, isRootElement, removeAttribute, removeAttribute, removeAttribute, removeChild, removeChild, removeChildren, removeChildren, removeContent, removeContent, removeContent, removeContent, removeNamespaceDeclaration, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setContent, setContent, setContent, setContent, setName, setNamespace, setText, toString |
| Methods inherited from class org.jdom.Content |
|---|
detach, equals, getDocument, getParent, getParentElement, hashCode, setParent |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jdom.Parent |
|---|
getDocument, getParent |
| Constructor Detail |
|---|
public Interaction(String interactionId,
boolean head)
| Method Detail |
|---|
public void addMetadata(org.jdom.Element meta)
throws Exception
Exception
public void addText(List content,
String techId)
public void addBlank(String type,
org.jdom.Element formula,
String techId)
throws Exception
Exception
public void addSelection(String type,
String style,
List content,
String techId)
public Transition addCondition(List userInput,
String xref)
public Transition addHint(String xref)
throws Exception
Exception
public Transition addDefault(String xref)
throws Exception
Exception
public Transition addInteractionRef(String xref)
throws Exception
Exception
public void addFeedbackRef(String from,
boolean inputDecoration)
public String getInteractionId()
public org.jdom.Element getInteractionMap()
public org.jdom.Element getAnswerMap()
public org.jdom.Element getFeedback()
public org.jdom.Element getMetadata()
public Transition getTransition(String techId)
public void removeFeedbackRef()
public void removeElement(String techId)
throws Exception
Exceptionpublic void removeTransition(String techId)
public void removeTransitions()
public Interaction.InteractionElement loadElement(String techId)
throws Exception
Exception
protected void addTransition(org.jdom.Element transition)
throws Exception
Exceptionprotected void setParent(Exercise parent)
public List getFeedbackPresentation(String lang)
throws Exception
Exception
public List getAnswermapPresentation()
throws Exception
Exception
public boolean isTransitionValid(Transition transition)
throws Exception
Exceptionpublic String vertexId()
vertexId in interface Vertexpublic boolean isHead()
isHead in interface Vertexpublic boolean isReachable()
isReachable in interface Vertexpublic boolean isVisited()
isVisited in interface Vertexpublic void setReachable(boolean reachable)
setReachable in interface Vertexpublic void setVisited(boolean visited)
setVisited in interface Vertex
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||