Examples of StringExpression


Examples of ar.com.fdvs.dj.domain.StringExpression

   * @param djHyperLink
   * @param image
   * @param column
   */
  public static void applyHyperLinkToElement(DynamicJasperDesign design, DJHyperLink djlink, JRDesignImage image, String name) {
    StringExpression hce = djlink.getExpression();
   
    String text = ExpressionUtils.createCustomExpressionInvocationText(name);
    LayoutUtils.registerCustomExpressionParameter(design, name,hce);
    JRDesignExpression hlpe = new JRDesignExpression();
    hlpe.setValueClassName(hce.getClassName());
   
    hlpe.setText(text);
    image.setHyperlinkReferenceExpression(hlpe);
    image.setHyperlinkType(JRHyperlink.HYPERLINK_TYPE_REFERENCE); //FIXME Should this be a parameter in the future?

    if (djlink.getTooltip() != null){
      StringExpression sExp = djlink.getTooltip();
      String tooltipParameterName = "hyperlink_tooltip_" +name;
      String tooltipText = ExpressionUtils.createCustomExpressionInvocationText(tooltipParameterName);
      LayoutUtils.registerCustomExpressionParameter(design, tooltipParameterName,sExp);
      JRDesignExpression tooltipExp = new JRDesignExpression();
      tooltipExp.setValueClassName(sExp.getClassName());
      tooltipExp.setText(tooltipText);
     
      image.setHyperlinkTooltipExpression(tooltipExp);
   
   
View Full Code Here

Examples of com.google.clearsilver.jsilver.compiler.JavaExpression.StringExpression

    }
  }

  @Override
  public void caseANameVariable(ANameVariable node) {
    components.add(new StringExpression(node.getWord().getText()));
  }
View Full Code Here

Examples of com.mysema.query.types.expr.StringExpression

        for (Expression<?> expr : exprs) {
            for (Field field : expr.getClass().getFields()) {
                Object rv = field.get(expr);
                if (rv instanceof Expression) {
                    if (rv instanceof StringExpression) {
                        StringExpression str = (StringExpression)rv;
                        toVisit.add(str.toLowerCase());
                        toVisit.add(str.charAt(0));
                        toVisit.add(str.isEmpty());
                    } else if (rv instanceof BooleanExpression) {
                        BooleanExpression b = (BooleanExpression)rv;
                        toVisit.add(b.not());
                    }
                    toVisit.add((Expression<?>) rv);
View Full Code Here

Examples of com.puppetlabs.geppetto.pp.StringExpression

        if(result == null)
          result = defaultCase(theEObject);
        return result;
      }
      case PPPackage.STRING_EXPRESSION: {
        StringExpression stringExpression = (StringExpression) theEObject;
        T result = caseStringExpression(stringExpression);
        if(result == null)
          result = caseExpression(stringExpression);
        if(result == null)
          result = defaultCase(theEObject);
View Full Code Here

Examples of javafx.beans.binding.StringExpression

    /**
     * @param texts
     * @return
     */
    public Button label(Object... texts) {
        StringExpression label = new SimpleStringProperty("");

        for (Object text : texts) {
            label = label.concat(text);
        }
        return label(label);
    }
View Full Code Here

Examples of org.apache.uima.ruta.expression.string.StringExpression

      NumberExpression indexExpr = a.getIndexExpr();
      WordTableExpression tableExpr = a.getTableExpr();
      Map<StringExpression, NumberExpression> featureMap = a.getFeatureMap();
      BooleanExpression ignoreCase = a.getIgnoreCase();
      NumberExpression ignoreLength = a.getIgnoreLength();
      StringExpression ignoreChar = a.getIgnoreChar();
      NumberExpression maxIgnoreChar = a.getMaxIgnoreChar();

      String type = verbalizer.verbalize(typeExpr);
      String index = verbalizer.verbalize(indexExpr);
      String table = verbalizer.verbalize(tableExpr);
View Full Code Here

Examples of org.byteliberi.easydriver.expressions.StringExpression

     * Returns a case insensitive like operator.
     * @return the <p>ilike</p> operator
     */
    @Override
    public ExpressionAPI iLike() {
        return new StringExpression(" ilike ");
    }
View Full Code Here

Examples of org.codehaus.jparsec.examples.sql.ast.StringExpression

    assertParser(ExpressionParser.WILDCARD, "*",
        new WildcardExpression(QualifiedName.of()));
  }
 
  public void testString() {
    assertParser(ExpressionParser.STRING, "'foo'", new StringExpression("foo"));
  }
View Full Code Here

Examples of org.datanucleus.store.mapped.expression.StringExpression

     * @param te Expression for the datastore container
     * @return The JDOQL expression
     */
    public ScalarExpression newScalarExpression(QueryExpression qs, LogicSetExpression te)
    {
        return new StringExpression(qs, this, te);
    }
View Full Code Here

Examples of org.datanucleus.store.rdbms.sql.expression.StringExpression

        List args = new ArrayList();
        args.add(expr);
        List types = new ArrayList();
        types.add("CHAR(4000)");
        return new StringExpression(expr.getSQLStatement(), m, "CAST", args, types);
    }
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.