Examples of renderAsText()


Examples of org.olat.ims.qti.editor.beecom.objects.Material.renderAsText()

   */
  public static String getFeedbackText(QTIObject object, String sIdent) {
    Feedback feedback = getFeedback(object, sIdent);
    try {
      Material mat = (Material) feedback.getMaterials().get(0);
      return mat.renderAsText();
    } catch (Exception e) {
      // 
    }
    return "";
  }
View Full Code Here

Examples of org.olat.ims.qti.editor.beecom.objects.Material.renderAsText()

    qtiState.put("OBJECTIVES", item.getObjectives());
    // question and responses
    qtiState.put("QUESTION.ID", question.getIdent());
    qtiState.put("QUESTION.HINTTEXT", question.getHintText());
    Material questMaterial = question.getQuestion();
    qtiState.put("QUESTION.MATERIAL.ASTEXT", questMaterial.renderAsText());
    List ids = new ArrayList();
    List asTexts = new ArrayList();
    List feedbacks = new ArrayList();
    List responses = question.getResponses();
    for (Iterator iter = responses.iterator(); iter.hasNext();) {
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.