| java.lang.Object org.sakaiproject.tool.assessment.qti.helper.item.ItemHelperBase
All known Subclasses: org.sakaiproject.tool.assessment.qti.helper.item.ItemHelper20Impl, org.sakaiproject.tool.assessment.qti.helper.item.ItemHelper12Impl,
ITEM_AUDIO | final protected static long ITEM_AUDIO(Code) | | |
ITEM_ESSAY | final protected static long ITEM_ESSAY(Code) | | |
ITEM_FIB | final protected static long ITEM_FIB(Code) | | |
ITEM_FILE | final protected static long ITEM_FILE(Code) | | |
ITEM_FIN | final protected static long ITEM_FIN(Code) | | |
ITEM_MATCHING | final protected static long ITEM_MATCHING(Code) | | |
ITEM_MCMC | final protected static long ITEM_MCMC(Code) | | |
ITEM_MCSC | final protected static long ITEM_MCSC(Code) | | |
ITEM_SURVEY | final protected static long ITEM_SURVEY(Code) | | |
ITEM_TF | final protected static long ITEM_TF(Code) | | |
getAuthoringXml | abstract protected AuthoringXml getAuthoringXml()(Code) | | We will have a versioned AuthoringXml in subclasses.
|
getItemTypeString | public String getItemTypeString(TypeIfc type)(Code) | | Get item type string which is used for the title of a given item type
Parameters: type - |
getQtiVersion | abstract protected int getQtiVersion()(Code) | | Get the QTI version for each subclass.
a QTIVersion.VERSION_... constant |
makeItemNodeText | protected String makeItemNodeText(Item itemXml, String xpath)(Code) | | Concatenate nodes for xpath
Parameters: itemXml - Parameters: xpath - |
readTypeSurveyItem | public Item readTypeSurveyItem(String scaleName)(Code) | | Get Item Xml for a given survey item scale name.
Parameters: scaleName - |
readTypeXMLItem | public Item readTypeXMLItem(Long type)(Code) | | Get Item Xml for a given item type as a TypeIfc.
Parameters: type - item type as a TypeIfc |
readXMLDocument | public Item readXMLDocument(InputStream inputStream)(Code) | | Read an item XML document from a stream into an Item XML object
Parameters: inputStream - XML document stream an Item XML object |
updateItemXml | public Item updateItemXml(Item itemXml, String xpath, String value)(Code) | | Update path with value
Parameters: itemXml - the item xml Parameters: xpath - the xpath Parameters: value - the value to set the item xml |
|
|