org.qtitools.qti.node.item.interaction
Class BlockInteraction

java.lang.Object
  extended by org.qtitools.qti.node.AbstractNode
      extended by org.qtitools.qti.node.AbstractObject
          extended by org.qtitools.qti.node.content.BodyElement
              extended by org.qtitools.qti.node.item.interaction.Interaction
                  extended by org.qtitools.qti.node.item.interaction.BlockInteraction
All Implemented Interfaces:
java.io.Serializable, Block, Flow, ObjectFlow, XmlNode, XmlObject, Validatable
Direct Known Subclasses:
AssociateInteraction, ChoiceInteraction, DrawingInteraction, ExtendedTextInteraction, GapMatchInteraction, GraphicInteraction, HottextInteraction, MatchInteraction, MediaInteraction, OrderInteraction, PositionObjectInteraction, SliderInteraction, UploadInteraction

public abstract class BlockInteraction
extends Interaction
implements Block, Flow

abstract block interaction

Author:
Jonathon Hare
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.qtitools.qti.node.item.interaction.Interaction
ATTR_RESPONSE_IDENTIFIER_NAME, CLASS_TAG_SUFFIX, DISPLAY_NAME
 
Fields inherited from class org.qtitools.qti.node.content.BodyElement
ATTR_CLASS_NAME, ATTR_ID_NAME, ATTR_LABEL_NAME, ATTR_LANG_NAME
 
Fields inherited from interface org.qtitools.qti.node.content.basic.Block
DISPLAY_NAME
 
Fields inherited from interface org.qtitools.qti.node.content.basic.Flow
DISPLAY_NAME
 
Constructor Summary
BlockInteraction(XmlObject parent)
          Construct new interaction.
 
Method Summary
 java.util.List<? extends XmlNode> getChildren()
          Get A list of the content child nodes of this element
 Prompt getPrompt()
          Gets prompt child.
 void setPrompt(Prompt prompt)
          Sets new prompt child.
 
Methods inherited from class org.qtitools.qti.node.item.interaction.Interaction
beforeProcessResponse, getResponseDeclaration, getResponseIdentifier, getShuffledOrder, initialize, processResponse, processResponse, processResponse, setResponseIdentifier, validate, validateResponse
 
Methods inherited from class org.qtitools.qti.node.content.BodyElement
appendChild, evaluate, getClassAttr, getFirstChild, getId, getLabel, getLang, getLastChild, insertBefore, removeChild, replaceChild, search, search, search, setId, setLabel, setLang
 
Methods inherited from class org.qtitools.qti.node.AbstractObject
getParent, getParentItem, getParentResult, getParentTest, setParent
 
Methods inherited from class org.qtitools.qti.node.AbstractNode
attrToXmlString, bodyToXmlString, getAttributes, getClassTag, getFullName, getIndent, getNode, getNode, getNode, getNodeGroups, getParentRoot, getSimpleName, getSourceFile, getSourceNode, getSourceString, getSourceUrl, hasChildNodes, load, load, load, load, loadAttributes, readChild, readChildren, setParent, setSourceFile, setSourceNode, setSourceString, setSourceUrl, toXmlString, toXmlString, validateAttributes, validateChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockInteraction

public BlockInteraction(XmlObject parent)
Construct new interaction.

Parameters:
parent - Parent node
Method Detail

getChildren

public java.util.List<? extends XmlNode> getChildren()
Description copied from class: BodyElement
Get A list of the content child nodes of this element

Specified by:
getChildren in class BodyElement
Returns:
List of child nodes

getPrompt

public Prompt getPrompt()
Gets prompt child.

Returns:
prompt child
See Also:
setPrompt(org.qtitools.qti.node.item.interaction.Prompt)

setPrompt

public void setPrompt(Prompt prompt)
Sets new prompt child.

Parameters:
prompt - new prompt child
See Also:
getPrompt()


Copyright © 2009. All Rights Reserved.