org.qtitools.qti.group.content.xhtml.table
Class CaptionGroup

java.lang.Object
  extended by org.qtitools.qti.group.AbstractNodeGroup
      extended by org.qtitools.qti.group.content.xhtml.table.CaptionGroup
All Implemented Interfaces:
java.io.Serializable, NodeGroup, Validatable

public class CaptionGroup
extends AbstractNodeGroup

Group of correctResponse child.

Author:
Jonathon Hare
See Also:
Serialized Form

Constructor Summary
CaptionGroup(Table parent)
          Constructs group.
 
Method Summary
 Caption create(java.lang.String classTag)
          Creates child with given QTI class name.
 Caption getCaption()
          Gets caption child.
 void setCaption(Caption caption)
          Sets new caption 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

CaptionGroup

public CaptionGroup(Table parent)
Constructs group.

Parameters:
parent - parent of created group
Method Detail

getCaption

public Caption getCaption()
Gets caption child.

Returns:
caption child, or null if it doesn't exist.
See Also:
setCaption(org.qtitools.qti.node.content.xhtml.table.Caption)

setCaption

public void setCaption(Caption caption)
Sets new caption child.

Parameters:
caption - new child
See Also:
getCaption()

create

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