ItemTypeExtractionStrategy.java | Class | Encapsulates the work of figuring out what type the item is.
Right now, uses static methods, later, we might want to change, add to factory.
We use the QTI qmd_itemtype in itemmetadata as the preferred way to ascertain type.
We fall back on title and then item structure, also attempring keyword matching.
Note, this may be deprecated in favor of a vocabulary based approach.
Need to investigate. |