Examples of ExpressionBuilder


Examples of org.olat.ims.qti.process.elements.ExpressionBuilder

          if (andornot_selection != null) {
            // some criteria, extend above xpath to select only the appropriate
            // elements
            select_expr.append("[");
            String elName = andornot_selection.getName();
            ExpressionBuilder eb = QTIHelper.getExpressionBuilder(elName);
            eb.buildXPathExpression(andornot_selection, select_expr, false, true);
            select_expr.append("]");
          }
          selectedItems = objectBank.selectNodes(select_expr.toString());
          el_items.addAll(selectedItems);
        }
View Full Code Here

Examples of org.olat.ims.qti.process.elements.ExpressionBuilder

    if (sbev == null) throw new RuntimeException("no section bev for " + name);
    return sbev;
  }

  public static ExpressionBuilder getExpressionBuilder(String name) {
    ExpressionBuilder eb = (ExpressionBuilder) expressionBuilders.get(name);
    if (eb == null) throw new RuntimeException("no expression builder for " + name);
    return eb;
  }
View Full Code Here

Examples of se.jguru.nazgul.tools.validation.api.expression.ExpressionBuilder

     * InternalStateValidationException as MessageContainer.
     *
     * @return A newly created InternalStateValidationException instance with an empty message buffer.
     */
    public static ExpressionBuilder create() {
        return new ExpressionBuilder(new InternalStateValidationException());
    }
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.