public abstract class ASIBaseClass extends XmlStringBuffer
Copyright: Copyright (c) 2004
Organization: Sakai Project
| Modifier | Constructor and Description |
|---|---|
protected |
ASIBaseClass()
Creates a new ASIBaseClass object.
|
protected |
ASIBaseClass(Document document)
Creates a new ASIBaseClass object.
|
protected |
ASIBaseClass(String xml)
Creates a new ASIBaseClass object.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createFieldentry(String xpath,
String fieldlabel) |
static String |
escapeXml(String s)
Simple wrapper over commons lang util method, but we may add additional
logic in the future for special QTI export purposes.
|
protected String |
extractString(String tagName)
extract string for tag
|
protected List |
getAllSections(String basePath) |
protected String |
getFieldentry(String xpath)
DOCUMENTATION PENDING
|
String |
getIdString() |
protected List |
getNumOfSections(String basePath,
int selectNumber) |
protected void |
removeSections(String basePath) |
protected void |
setFieldentry(String xpath,
String value)
Set field entry.
|
protected void |
setFieldentry(String xpath,
String value,
boolean noEscapeXML)
Set field entry.
|
void |
setIdString(String idString) |
protected void |
wrappingMattext() |
add, addAttribute, addElement, addJDOMElement, clear, createChildElement, getDocument, getValueOf, insertElement, isEmpty, removeElement, replace, selectNodes, selectSingleValue, stringValue, update, updateprotected ASIBaseClass()
protected ASIBaseClass(String xml)
xml - XML stringprotected ASIBaseClass(Document document)
document - Documentprotected String extractString(String tagName) throws ParserConfigurationException, SAXException, IOException, DOMException
tagName - name of tagParserConfigurationExceptionSAXExceptionIOExceptionDOMExceptionpublic static String escapeXml(String s)
s - protected String getFieldentry(String xpath)
xpath - DOCUMENTATION PENDINGprotected void setFieldentry(String xpath, String value)
xpath - setValue - protected void setFieldentry(String xpath, String value, boolean noEscapeXML)
xpath - setValue - noEscapeXML - protected void createFieldentry(String xpath, String fieldlabel)
xpath - fieldlabel - protected void removeSections(String basePath)
basePath - protected List getNumOfSections(String basePath, int selectNumber)
basePath - selectNumber - protected void wrappingMattext()
public String getIdString()
public void setIdString(String idString)
Copyright © 2005–2017 Sakai Project. All rights reserved.