|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.tool.assessment.qti.util.XmlStringBuffer
org.sakaiproject.tool.assessment.qti.asi.ASIBaseClass
org.sakaiproject.tool.assessment.qti.asi.Item
public class Item
Copyright: Copyright (c) 2004
Organization: Sakai Project
| Constructor Summary | |
|---|---|
Item(Document document,
int qtiVersion)
Creates a new Item object. |
|
Item(int qtiVersion)
Creates a new Item object. |
|
| Method Summary | |
|---|---|
void |
createFieldentry(String fieldlabel)
Create a metadata field entry |
String |
getBasePath()
|
String |
getFieldentry(String fieldlabel)
method for meta data |
String |
getItemText()
Get the text for the item |
String |
getItemType()
|
boolean |
isAudio()
|
boolean |
isEssay()
|
boolean |
isFIB()
|
boolean |
isFile()
|
boolean |
isFIN()
|
boolean |
isMatching()
|
boolean |
isMCMC()
|
boolean |
isMCMCSS()
|
boolean |
isMCSC()
|
boolean |
isMXSURVEY()
|
boolean |
isSurvey()
|
void |
setAnswers(ArrayList itemTextList)
Set the answer texts for item. |
void |
setAnswerTrueFalse(boolean isTrue)
Set the answer texts for item. |
void |
setBasePath(String basePath)
|
void |
setFeedback(ArrayList itemTextList)
Set the feedback texts for item. |
void |
setFieldentry(String fieldlabel,
String setValue)
method for meta data |
void |
setIdent(String ident)
set identity attribute (ident/identioty) |
void |
setItemTexts(ArrayList itemTextList)
Set the item texts. |
void |
setTitle(String title)
set title attribute |
void |
update(ItemDataIfc item)
Update XML from perisistence |
| Methods inherited from class org.sakaiproject.tool.assessment.qti.asi.ASIBaseClass |
|---|
createFieldentry, escapeXml, extractString, getAllSections, getIdString, getNumOfSections, removeSections, setFieldentry, setIdString, wrappingMattext |
| Methods inherited from class org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer |
|---|
add, addAttribute, addElement, addJDOMElement, clear, getDocument, insertElement, isEmpty, removeElement, replace, selectNodes, selectSingleValue, stringValue, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Item(int qtiVersion)
public Item(Document document,
int qtiVersion)
document - an item XML document| Method Detail |
|---|
public void setIdent(String ident)
ident - the valuepublic void setTitle(String title)
ident - the valuepublic void update(ItemDataIfc item)
item - public void setAnswerTrueFalse(boolean isTrue)
itemTextList - the text(s) for itempublic String getFieldentry(String fieldlabel)
getFieldentry in class ASIBaseClassfieldlabel - to get
public void setFieldentry(String fieldlabel,
String setValue)
setFieldentry in class ASIBaseClassfieldlabel - to getsetValue - the valuepublic void createFieldentry(String fieldlabel)
fieldlabel - the field labelpublic String getItemType()
public void setItemTexts(ArrayList itemTextList)
itemText - text to be updatedpublic boolean isEssay()
public boolean isSurvey()
public boolean isMXSURVEY()
public boolean isAudio()
public boolean isFile()
public boolean isMatching()
public boolean isFIB()
public boolean isFIN()
public boolean isMCMC()
public boolean isMCMCSS()
public boolean isMCSC()
public void setAnswers(ArrayList itemTextList)
itemTextList - the text(s) for itempublic void setFeedback(ArrayList itemTextList)
itemTextList - the text(s) for itempublic String getItemText()
public String getBasePath()
public void setBasePath(String basePath)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||