org.qtitools.qti.group.item.template.processing
Class TemplateIfGroup

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

public class TemplateIfGroup
extends AbstractNodeGroup

Group of templateIf child.

Author:
Jonathon Hare
See Also:
Serialized Form

Constructor Summary
TemplateIfGroup(TemplateCondition parent)
          Constructs group.
 
Method Summary
 TemplateIf create(java.lang.String classTag)
          Creates child with given QTI class name.
 TemplateIf getTemplateIf()
          Gets child.
 void setTemplateIf(TemplateIf templateIf)
          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

TemplateIfGroup

public TemplateIfGroup(TemplateCondition parent)
Constructs group.

Parameters:
parent - parent of created group
Method Detail

getTemplateIf

public TemplateIf getTemplateIf()
Gets child.

Returns:
child
See Also:
setTemplateIf(org.qtitools.qti.node.item.template.processing.TemplateIf)

setTemplateIf

public void setTemplateIf(TemplateIf templateIf)
Sets new child.

Parameters:
templateIf - new child
See Also:
getTemplateIf()

create

public TemplateIf 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.