org.activemath.content.items
Class DynamicItemFactory
java.lang.Object
org.activemath.content.items.DynamicItemFactory
public class DynamicItemFactory
- extends Object
Utility class to create DynamicItems.
Currently the following kind of
DynamicItem are considered and can be created here: 1. DynamicItemDynamicTask 2.
DynamicItemText 3. DynamicItemLearningService Each of Class above has a
static member TYPE, which characterises it's type.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static Category log
MBASE_PREFIX
public static final String MBASE_PREFIX
- See Also:
- Constant Field Values
createDynamicItem
public static DynamicItem createDynamicItem(OJDynamicItem ojitem,
String bookId)
- Create the appropriate Instance of DynamicItem.
- Parameters:
ojitem - bookId -
- Returns:
- appropriate type of DynamicItem Object
createDynamicItemLazyTask
protected static DynamicItemDynamicTask createDynamicItemLazyTask(OJDynamicItem ojitem,
String id,
String bookId)
createDynamicItemCMap
protected static DynamicItemCMap createDynamicItemCMap(OJDynamicItem ojitem,
String id)
createDynamicItemText
protected static DynamicItemText createDynamicItemText(OJDynamicItem ojitem,
String id)
createDynamicItemDM
protected static DynamicItemDM createDynamicItemDM(OJDynamicItem ojitem,
String id)
createDynamicItemExerciseSequencer
protected static DynamicItemExerciseSequencer createDynamicItemExerciseSequencer(OJDynamicItem ojitem,
String id,
String bookId)