org.qtitools.qti.group.content
Class AbstractContentNodeGroup

java.lang.Object
  extended by org.qtitools.qti.group.AbstractNodeGroup
      extended by org.qtitools.qti.group.content.AbstractContentNodeGroup
All Implemented Interfaces:
java.io.Serializable, NodeGroup, Validatable
Direct Known Subclasses:
BlockGroup, BlockStaticGroup, FlowGroup, FlowStaticGroup, GapChoiceGroup, InlineGroup, InlineStaticGroup, ObjectFlowGroup, TextOrVariableGroup

public abstract class AbstractContentNodeGroup
extends AbstractNodeGroup

Group of content children.

Author:
Jonathon Hare
See Also:
Serialized Form

Constructor Summary
AbstractContentNodeGroup(XmlNode parent, java.lang.String name, boolean required)
          Constructs group.
AbstractContentNodeGroup(XmlNode parent, java.lang.String name, java.lang.Integer minimum, java.lang.Integer maximum)
          Constructs group.
 
Method Summary
 void load(org.w3c.dom.Node node)
          Loads children from given source node (DOM).
 
Methods inherited from class org.qtitools.qti.group.AbstractNodeGroup
getAllSupportedClasses, getChild, getChildren, getCurrentSupportedClasses, getFullName, getMaximum, getMinimum, getName, getParent, isGeneral, setChild, toXmlString, validate
 
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.group.NodeGroup
create
 

Constructor Detail

AbstractContentNodeGroup

public AbstractContentNodeGroup(XmlNode parent,
                                java.lang.String name,
                                boolean required)
Constructs group.

Parameters:
parent - parent of created group
name - name of node group
required - is group required

AbstractContentNodeGroup

public AbstractContentNodeGroup(XmlNode parent,
                                java.lang.String name,
                                java.lang.Integer minimum,
                                java.lang.Integer maximum)
Constructs group.

Parameters:
parent - parent of created group
name - name of node group
minimum - minimum number of children
maximum - maximum number of children
Method Detail

load

public void load(org.w3c.dom.Node node)
Description copied from interface: NodeGroup
Loads children from given source node (DOM).

Specified by:
load in interface NodeGroup
Overrides:
load in class AbstractNodeGroup
Parameters:
node - source node (DOM)


Copyright © 2009. All Rights Reserved.