Package org.olat.ims.qti.container.qtielements

Examples of org.olat.ims.qti.container.qtielements.Item


      SectionContext sct = act.getCurrentSectionContext();
      ItemContext itc = null;
      if (sct != null && !ai.isSectionPage()) {
        itc = sct.getCurrentItemContext();
        if (itc != null) {
          Item item = itc.getQtiItem();
          if (item.getQTIIdent().startsWith("QTIEDIT:FLA:")) displayForm = false;
        }
      }
     
      sb.append("<form action=\"");
      ubu.buildURI(sb, new String[] { VelocityContainer.COMMAND_ID }, new String[] { "sitse" });
View Full Code Here


   * @param sw
   */
  public void setUp(AssessmentInstance assessInstance, Element el_orig_item, Switches sw) {
    this.assessInstance = assessInstance;
    this.el_shuffled_item = shuffle(el_orig_item);
    this.qtiItem = new Item(el_shuffled_item);
   
    if (sw == null) { // no section switches dominate, take item switches
      // retrieve item switches
      Element el_control = (Element) el_orig_item.selectSingleNode("itemcontrol");
      if (el_control != null) {
View Full Code Here

TOP

Related Classes of org.olat.ims.qti.container.qtielements.Item

Copyright © 2018 www.massapicom. 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.