|
||||||||||
| 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.Section
public class Section
Copyright: Copyright (c) 2004
Organization: Sakai Project
| Field Summary | |
|---|---|
String |
basePath
|
| Constructor Summary | |
|---|---|
Section()
Creates a new Section object. |
|
Section(Document document,
int qtiVersion)
Creates a new Section object. |
|
| Method Summary | |
|---|---|
void |
addItemRef(String itemId)
ASI OKI implementation |
void |
addSectionRef(String sectionId)
add section ref |
void |
createFieldentry(String fieldlabel)
Method for meta data. |
String |
getBasePath()
get Xpath of section |
String |
getFieldentry(String fieldlabel)
Method for meta data. |
List |
getSectionRefIds()
get section ref ids |
List |
getSectionRefs()
get section refs |
void |
orderItemRefs(ArrayList itemRefIds)
Order item refs |
void |
removeItemRef(String itemId)
remove item ref |
void |
removeSectionRef(String sectionId)
remove section ref |
void |
setBasePath(String basePath)
set XPath of section |
void |
setFieldentry(String fieldlabel,
String setValue)
Method for meta data. |
void |
setIdent(String ident)
set section ident (id) |
void |
setTitle(String title)
set section title |
void |
update(SectionDataIfc section)
Update XML from persistence |
| 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 |
| Field Detail |
|---|
public String basePath
| Constructor Detail |
|---|
public Section()
public Section(Document document,
int qtiVersion)
document - DOCUMENTATION PENDING| Method Detail |
|---|
public void setIdent(String ident)
ident - public void setTitle(String title)
title - public void update(SectionDataIfc section)
section - public String getFieldentry(String fieldlabel)
getFieldentry in class ASIBaseClassfieldlabel - field label
public void setFieldentry(String fieldlabel,
String setValue)
setFieldentry in class ASIBaseClassfieldlabel - labelsetValue - valuepublic void createFieldentry(String fieldlabel)
fieldlabel - to be addedpublic void addItemRef(String itemId)
itemId - item idpublic void removeItemRef(String itemId)
itemId - igem idpublic void addSectionRef(String sectionId)
sectionId - section idpublic void removeSectionRef(String sectionId)
sectionId - DOCUMENTATION PENDINGpublic void orderItemRefs(ArrayList itemRefIds)
itemRefIds - list of ref idspublic List getSectionRefs()
public List getSectionRefIds()
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 | |||||||||