| java.lang.Object org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer org.sakaiproject.tool.assessment.qti.asi.ASIBaseClass
All known Subclasses: org.sakaiproject.tool.assessment.qti.asi.Item, org.sakaiproject.tool.assessment.qti.asi.Section, org.sakaiproject.tool.assessment.qti.asi.Assessment, org.sakaiproject.tool.assessment.contentpackaging.Manifest,
ASIBaseClass | abstract public class ASIBaseClass extends XmlStringBuffer (Code) | | Copyright: Copyright (c) 2004
Organization: Sakai Project
author: rshastri author: Ed Smiley esmiley@stanford.edu version: $Id: ASIBaseClass.java 9274 2006-05-10 22:50:48Z daisyf@stanford.edu $ |
ASIBaseClass | protected ASIBaseClass()(Code) | | Creates a new ASIBaseClass object.
|
ASIBaseClass | protected ASIBaseClass(String xml)(Code) | | Creates a new ASIBaseClass object.
Parameters: xml - XML string |
ASIBaseClass | protected ASIBaseClass(Document document)(Code) | | Creates a new ASIBaseClass object.
Parameters: document - Document |
createFieldentry | protected void createFieldentry(String xpath, String fieldlabel)(Code) | | Parameters: xpath - Parameters: fieldlabel - |
escapeXml | public static String escapeXml(String s)(Code) | | Simple wrapper over commons lang util method, but we may add additional
logic in the future for special QTI export purposes.
Parameters: s - escaped string e.g.< \u04D0rnesen & Jones > becomes <Ӑrnesen & Jones > |
getAllSections | protected List getAllSections(String basePath)(Code) | | Parameters: basePath - |
getFieldentry | protected String getFieldentry(String xpath)(Code) | | DOCUMENTATION PENDING
Parameters: xpath - DOCUMENTATION PENDING DOCUMENTATION PENDING |
getNumOfSections | protected List getNumOfSections(String basePath, int selectNumber)(Code) | | Parameters: basePath - Parameters: selectNumber - |
processSelectElement | protected List processSelectElement(String basePath, Element selectElement)(Code) | | Parameters: basePath - Parameters: selectElement - |
removeSections | protected void removeSections(String basePath)(Code) | | Parameters: basePath - |
setFieldentry | protected void setFieldentry(String xpath, String value)(Code) | | Set field entry.
Parameters: xpath - Parameters: setValue - |
setFieldentry | protected void setFieldentry(String xpath, String value, boolean noEscapeXML)(Code) | | Set field entry.
Parameters: xpath - Parameters: setValue - Parameters: noEscapeXML - |
wrappingMattext | protected void wrappingMattext()(Code) | | |
Methods inherited from org.sakaiproject.tool.assessment.qti.util.XmlStringBuffer | final public void add(String parentXpath, String childXpath)(Code)(Java Doc) final public void addAttribute(String elementXpath, String attributeName)(Code)(Java Doc) final public void addElement(String parentXpath, Element element)(Code)(Java Doc) final public void addJDOMElement(String xpath, org.jdom.Element element)(Code)(Java Doc) final public void clear()(Code)(Java Doc) final public Document getDocument() throws ParserConfigurationException, SAXException, IOException(Code)(Java Doc) public void insertElement(String afterNode, String parentXpath, String childXpath)(Code)(Java Doc) final public boolean isEmpty()(Code)(Java Doc) final public void removeElement(String xpath)(Code)(Java Doc) final public void replace(String xml)(Code)(Java Doc) final public List selectNodes(String xpath)(Code)(Java Doc) public String selectSingleValue(String xpath, String type)(Code)(Java Doc) final public String stringValue()(Code)(Java Doc) final public XmlStringBuffer update(String xpath, String value) throws DOMException, Exception(Code)(Java Doc) final public void update(String xpath, Element element)(Code)(Java Doc)
|
|
|