|
|||||||||
| 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.contentpackaging.Manifest
public class Manifest
Copyright: Copyright (c) 2003-5
Organization: Sakai Project
| Field Summary | |
|---|---|
static String |
FILE_PATH
|
static String |
MANIFEST_TAG
|
static String |
RESOURCE_PATH
|
| Constructor Summary | |
|---|---|
protected |
Manifest()
Creates a new Assessment object. |
|
Manifest(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 |
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 prefixPath,
String fieldlabel,
String setValue)
|
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, getFieldentry, getIdString, getNumOfSections, removeSections, setFieldentry, 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 |
| Field Detail |
|---|
public static final String MANIFEST_TAG
public static final String RESOURCE_PATH
public static final String FILE_PATH
| Constructor Detail |
|---|
protected Manifest()
public Manifest(Document document)
document - the Document containing the assessment.| Method Detail |
|---|
public void setFieldentry(String prefixPath,
String fieldlabel,
String setValue)
fieldlabel - 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 | ||||||||