public class Manifest extends ASIBaseClass
Copyright: Copyright (c) 2003-5
Organization: Sakai Project
| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_PATH |
static String |
MANIFEST_TAG |
static String |
RESOURCE_PATH |
| Modifier | Constructor and Description |
|---|---|
protected |
Manifest()
Creates a new Assessment object.
|
|
Manifest(Document document)
Creates a new Assessment object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
createFieldentry, escapeXml, extractString, getAllSections, getFieldentry, getIdString, getNumOfSections, removeSections, setFieldentry, setFieldentry, setIdString, wrappingMattextadd, addAttribute, addElement, addJDOMElement, clear, createChildElement, getDocument, getValueOf, insertElement, isEmpty, removeElement, replace, selectNodes, selectSingleValue, stringValue, update, updatepublic static final String MANIFEST_TAG
public static final String RESOURCE_PATH
public static final String FILE_PATH
protected Manifest()
public Manifest(Document document)
document - the Document containing the assessment.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 - Copyright © 2022. All rights reserved.