org.qtitools.qti.node.item.response.processing
Class ResponseRule

java.lang.Object
  extended by org.qtitools.qti.node.AbstractNode
      extended by org.qtitools.qti.node.AbstractObject
          extended by org.qtitools.qti.node.item.response.processing.ResponseRule
All Implemented Interfaces:
java.io.Serializable, XmlNode, XmlObject, Validatable
Direct Known Subclasses:
ExitResponse, ProcessResponseValue, ResponseCondition, ResponseProcessingFragment

public abstract class ResponseRule
extends AbstractObject

Abstract parent of all response rules.

Author:
Jonathon Hare
See Also:
Serialized Form

Field Summary
static java.lang.String DISPLAY_NAME
          Display name of this class.
 
Fields inherited from interface org.qtitools.qti.node.XmlNode
INDENT, NEW_LINE, SIMPLE_NAME_INNER_SEPARATOR, SIMPLE_NAMES_SEPARATOR
 
Constructor Summary
ResponseRule(XmlObject parent)
          Creates rule.
 
Method Summary
abstract  void evaluate()
          Evaluates this rule and all its children.
 
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, validate, validateAttributes, validateChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.qtitools.qti.node.XmlNode
getAttributes, getClassTag, getFullName, getNodeGroups, getParentRoot, getSimpleName, getSourceFile, getSourceNode, getSourceString, getSourceUrl, hasChildNodes, load, load, load, load, setSourceFile, setSourceNode, setSourceString, setSourceUrl, toXmlString, toXmlString
 
Methods inherited from interface org.qtitools.qti.validation.Validatable
validate
 

Field Detail

DISPLAY_NAME

public static final java.lang.String DISPLAY_NAME
Display name of this class.

See Also:
Constant Field Values
Constructor Detail

ResponseRule

public ResponseRule(XmlObject parent)
Creates rule.

Parameters:
parent - parent of this rule
Method Detail

evaluate

public abstract void evaluate()
                       throws QTIProcessingInterrupt
Evaluates this rule and all its children.

Throws:
QTIProcessingInterrupt


Copyright © 2009. All Rights Reserved.