|
||||||||||
| 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.Assessment
public class Assessment
Copyright: Copyright (c) 2003-5
Organization: Sakai Project
| Constructor Summary | |
|---|---|
protected |
Assessment()
Creates a new Assessment object. |
|
Assessment(Document document)
Creates a new Assessment object. |
| Method Summary | |
|---|---|
void |
addSectionRef(String sectionId)
Add a section ref with section Id sectionId. |
String |
getBasePath()
Base XPath for the assessment. |
String |
getFieldentry(String fieldlabel)
Method for meta data. |
String |
getIdent()
Assessment id (ident attribute) |
Collection |
getItems()
Get a collection of items. |
List |
getSectionRefIds()
|
List |
getSectionRefs()
Get a collection of section refs. |
Collection |
getSections()
Get a collection of sections. |
String |
getTitle()
Assessment title. |
void |
removeSectionRef(String sectionId)
Remove a section ref with section Id sectionId. |
void |
removeSectionRefs()
Remove all section refs. |
void |
setBasePath(String basePath)
Base XPath for the assessment. |
void |
setFieldentry(String fieldlabel,
String setValue)
Set field entry. |
void |
setFieldentry(String fieldlabel,
String setValue,
boolean noEscapeXML)
Set field entry. |
void |
setIdent(String ident)
Assessment id (ident attribute) |
void |
setTitle(String title)
Assessment title. |
| Methods inherited from class org.sakaiproject.tool.assessment.qti.asi.ASIBaseClass |
|---|
createFieldentry, escapeXml, extractString, getAllSections, getIdString, getNumOfSections, removeSections, 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 |
|---|
protected Assessment()
public Assessment(Document document)
document - the Document containing the assessment.| Method Detail |
|---|
public String getFieldentry(String fieldlabel)
getFieldentry in class ASIBaseClassfieldlabel - the fieldlabel
public void setFieldentry(String fieldlabel,
String setValue)
ASIBaseClass
setFieldentry in class ASIBaseClassfieldlabel - setValue - noEscapeXML -
public void setFieldentry(String fieldlabel,
String setValue,
boolean noEscapeXML)
ASIBaseClass
setFieldentry in class ASIBaseClassfieldlabel - setValue - public void addSectionRef(String sectionId)
sectionId - public void removeSectionRef(String sectionId)
sectionId - public void removeSectionRefs()
public List getSectionRefs()
public Collection getSections()
public Collection getItems()
public List getSectionRefIds()
public String getTitle()
public String getIdent()
public void setIdent(String ident)
ident - the identpublic void setTitle(String title)
title - public String getBasePath()
public void setBasePath(String basePath)
basePath -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||