org.qtitools.qti.group.item.response.processing
Class ResponseElseGroup

java.lang.Object
  extended by org.qtitools.qti.group.AbstractNodeGroup
      extended by org.qtitools.qti.group.item.response.processing.ResponseElseGroup
All Implemented Interfaces:
java.io.Serializable, NodeGroup, Validatable

public class ResponseElseGroup
extends AbstractNodeGroup

Group of responseElse child.

Author:
Jonathon Hare
See Also:
Serialized Form

Constructor Summary
ResponseElseGroup(ResponseCondition parent)
          Constructs group.
 
Method Summary
 ResponseElse create(java.lang.String classTag)
          Creates child with given QTI class name.
 ResponseElse getResponseElse()
          Gets child.
 void setResponseElse(ResponseElse responseElse)
          Sets new child.
 
Methods inherited from class org.qtitools.qti.group.AbstractNodeGroup
getAllSupportedClasses, getChild, getChildren, getCurrentSupportedClasses, getFullName, getMaximum, getMinimum, getName, getParent, isGeneral, load, setChild, toXmlString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseElseGroup

public ResponseElseGroup(ResponseCondition parent)
Constructs group.

Parameters:
parent - parent of created group
Method Detail

getResponseElse

public ResponseElse getResponseElse()
Gets child.

Returns:
child
See Also:
setResponseElse(org.qtitools.qti.node.item.response.processing.ResponseElse)

setResponseElse

public void setResponseElse(ResponseElse responseElse)
Sets new child.

Parameters:
responseElse - new child
See Also:
getResponseElse()

create

public ResponseElse create(java.lang.String classTag)
Creates child with given QTI class name.

Parameter classTag is needed only if group can contain children with different QTI class names.

Parameters:
classTag - QTI class name (this parameter is ignored)
Returns:
created child


Copyright © 2009. All Rights Reserved.