Examples of AssessmentNode


Examples of org.olat.ims.qti.editor.tree.AssessmentNode

        int pos = 0;
        Map itemMap = new HashMap();

        public void visit(INode node) {
          if (node instanceof AssessmentNode) {
            AssessmentNode an = (AssessmentNode) node;
            String key = "null/null/null/null";
            if (history.containsKey(key)) {
              // some assessment top level data changed
              Memento mem = (Memento) history.get(key);
              result.append("---+ Changes in test " + formatVariable(startedWithTitle) + ":");
              result.append(an.createChangeMessage(mem));
            }
          } else if (node instanceof SectionNode) {
            SectionNode sn = (SectionNode) node;
            String tmpKey = ((Section) sn.getUnderlyingQTIObject()).getIdent();
            String key = tmpKey + "/null/null/null";
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.