| Package | Description |
|---|---|
| org.sakaiproject.tool.assessment.qti.helper | |
| org.sakaiproject.tool.assessment.qti.helper.item |
| Modifier and Type | Method and Description |
|---|---|
Map |
ExtractionHelper.mapEMIItem(Item itemXml,
boolean isRespondus) |
Map |
ExtractionHelper.mapItem(Item itemXml)
Get map of data to set from item XML
|
Map |
ExtractionHelper.mapItem(Item itemXml,
boolean isRespondus) |
void |
ExtractionHelper.updateItem(ItemFacade item,
Item itemXml)
Update item from the extracted properties.
|
void |
ExtractionHelper.updateItem(ItemFacade item,
Item itemXml,
boolean isRespondus) |
void |
ExtractionHelper.updateItem(ItemFacade item,
Item itemXml,
Map itemMap) |
void |
ExtractionHelper.updateItem(ItemFacade item,
Item itemXml,
Map itemMap,
boolean isRespondus) |
| Modifier and Type | Method and Description |
|---|---|
Item |
ItemHelperIfc.readTypeSurveyItem(String scaleName)
Get Item Xml for a given survey item scale name.
|
Item |
ItemHelperBase.readTypeSurveyItem(String scaleName)
Get Item Xml for a given survey item scale name.
|
Item |
ItemHelperIfc.readTypeXMLItem(Long type)
Get Item Xml for a given item type as a Long .
|
Item |
ItemHelperBase.readTypeXMLItem(Long type)
Get Item Xml for a given item type as a TypeIfc.
|
Item |
ItemHelperIfc.readXMLDocument(InputStream inputStream)
Read XML document from input stream
|
Item |
ItemHelperBase.readXMLDocument(InputStream inputStream)
Read an item XML document from a stream into an Item XML object
|
Item |
ItemHelperIfc.updateItemXml(Item itemXml,
String xpath,
String value)
DOCUMENTATION PENDING
|
Item |
ItemHelperBase.updateItemXml(Item itemXml,
String xpath,
String value)
Update path with value
|
| Modifier and Type | Method and Description |
|---|---|
void |
ItemHelper12Impl.addCorrectAnswer(String correctAnswerLabel,
Item itemXml)
Flags an answer as correct.
|
void |
ItemHelper20Impl.addCorrectAnswer(String correctAnswerLabel,
Item itemXml)
Flags an answer as correct.
|
void |
ItemHelperIfc.addCorrectAnswer(String correctAnswerLabel,
Item itemXml)
Flags an answer as correct.
|
void |
ItemHelper12Impl.addIncorrectAnswer(String incorrectAnswerLabel,
Item itemXml)
Flags an answer as INCORRECT.
|
void |
ItemHelper20Impl.addIncorrectAnswer(String incorrectAnswerLabel,
Item itemXml) |
void |
ItemHelperIfc.addIncorrectAnswer(String incorrectAnswerLabel,
Item itemXml)
Flags an answer as NOT correct.
|
void |
ItemHelper12Impl.addMaxScore(Double score,
Item itemXml)
Add maximum score to item XML.
|
void |
ItemHelper20Impl.addMaxScore(Double score,
Item itemXml)
Add maximum score to item XML.
|
void |
ItemHelperIfc.addMaxScore(Double score,
Item itemXml)
Add minimum score to item XML.
|
void |
ItemHelper12Impl.addMinScore(Double discount,
Item itemXml)
Add minimum score to item XML
|
void |
ItemHelper20Impl.addMinScore(Double score,
Item itemXml)
Add minimum score to item XML
|
void |
ItemHelperIfc.addMinScore(Double score,
Item itemXml)
Add maximum score to item XML
|
void |
ItemHelper12Impl.addResponseEntry(Item itemXml,
String xpath,
String value,
boolean isInsert,
String responseNo,
String responseLabel)
Add/update a response label entry
|
void |
ItemHelper12Impl.flagAnswerCorrect(String answerLabel,
Item itemXml,
boolean correct)
Flags an answer as correct/incorrect.
|
String |
ItemHelper12Impl.getItemType(Item itemXml)
get item type string
|
String |
ItemHelper20Impl.getItemType(Item itemXml)
get item type string
we use title for this for now
|
String |
ItemHelperIfc.getItemType(Item itemXml) |
String |
ItemHelper12Impl.getText(Item itemXml)
Get the text for the item
|
String |
ItemHelper20Impl.getText(Item itemXml)
Get the text for the item
|
String |
ItemHelperIfc.getText(Item itemXml)
Get the text for the item
|
protected String |
ItemHelperBase.makeItemNodeText(Item itemXml,
String xpath)
Concatenate nodes for xpath
|
void |
ItemHelper12Impl.setAnswers(List<ItemTextIfc> itemTextList,
Item itemXml)
Set the answer texts for item.
|
void |
ItemHelper20Impl.setAnswers(List<ItemTextIfc> itemTextList,
Item itemXml)
Set the answer texts for item.
|
void |
ItemHelperIfc.setAnswers(List<ItemTextIfc> itemTextList,
Item itemXml)
Set the answer texts for item.
|
void |
ItemHelper12Impl.setAttachments(Set<? extends AttachmentIfc> attachmentSet,
Item itemXml) |
void |
ItemHelper20Impl.setAttachments(Set<? extends AttachmentIfc> attachmentSet,
Item item) |
void |
ItemHelperIfc.setAttachments(Set<? extends AttachmentIfc> attachmentSet,
Item item) |
void |
ItemHelper12Impl.setFeedback(List<ItemTextIfc> itemTextList,
Item itemXml)
Set the feedback texts for item.
|
void |
ItemHelper20Impl.setFeedback(List<ItemTextIfc> itemTextList,
Item itemXml) |
void |
ItemHelperIfc.setFeedback(List<ItemTextIfc> itemTextList,
Item itemXml)
Set the feedback texts for item.
|
void |
ItemHelper12Impl.setItemLabel(String itemLabel,
Item itemXml) |
void |
ItemHelper20Impl.setItemLabel(String itemLabel,
Item itemXml) |
void |
ItemHelperIfc.setItemLabel(String itemLabel,
Item itemXml)
Set the label for the item.
|
void |
ItemHelper12Impl.setItemText(String itemText,
Item itemXml)
Set the item text.
|
void |
ItemHelper20Impl.setItemText(String itemText,
Item itemXml) |
void |
ItemHelperIfc.setItemText(String itemText,
Item itemXml)
Set the (usually instructional text) for trhe item.
|
void |
ItemHelper12Impl.setItemText(String itemText,
String flowClass,
Item itemXml) |
void |
ItemHelper20Impl.setItemText(String itemText,
String flowClass,
Item itemXml) |
void |
ItemHelperIfc.setItemText(String itemText,
String flowClass,
Item itemXml)
Set the (usually instructional text) for the item for the specified flow.
|
void |
ItemHelper12Impl.setItemTexts(List<ItemTextIfc> itemTextList,
Item itemXml)
Set the (one or more) item texts.
|
void |
ItemHelper20Impl.setItemTexts(List<ItemTextIfc> itemTextList,
Item itemXml)
Set the (one or more) item texts.
|
void |
ItemHelperIfc.setItemTexts(List<ItemTextIfc> itemTextList,
Item itemXml)
Set the (one or more) item texts.
|
void |
ItemHelper12Impl.setPresentationFlowResponseIdent(String presentationFlowResponseIdent,
Item itemXml) |
void |
ItemHelper20Impl.setPresentationFlowResponseIdent(String presentationFlowResponseIdent,
Item itemXml) |
void |
ItemHelperIfc.setPresentationFlowResponseIdent(String presentationFlowResponseIdent,
Item itemXml)
Set the public void Presentation Flow Response Ident
|
void |
ItemHelper12Impl.setPresentationLabel(String presentationLabel,
Item itemXml) |
void |
ItemHelper20Impl.setPresentationLabel(String presentationLabel,
Item itemXml) |
void |
ItemHelperIfc.setPresentationLabel(String presentationLabel,
Item itemXml)
Set the presentation label.
|
Item |
ItemHelperIfc.updateItemXml(Item itemXml,
String xpath,
String value)
DOCUMENTATION PENDING
|
Item |
ItemHelperBase.updateItemXml(Item itemXml,
String xpath,
String value)
Update path with value
|
Copyright © 2005–2018 Sakai Project. All rights reserved.