Examples of expression()


Examples of org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute.expression()

              signature.append("(");
              signature.append(StringUtils.join(componentTagAttribute.methodSignature(), ", "));
              signature.append(")");
              addLeafTextElement(signature.toString(), "method-signature", deferredMethod, document);
              attribute.appendChild(deferredMethod);
            } else if (componentTagAttribute != null && componentTagAttribute.expression().isValueExpression()) {
              Element deferredValue = document.createElement("deferred-value");
              String type = "java.lang.Object";
              if (componentTagAttribute.expression().isValueExpression()) {
                if (componentTagAttribute.type().length == 1
                    // XXX fix me hack
View Full Code Here

Examples of org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute.expression()

              addLeafTextElement(signature.toString(), "method-signature", deferredMethod, document);
              attribute.appendChild(deferredMethod);
            } else if (componentTagAttribute != null && componentTagAttribute.expression().isValueExpression()) {
              Element deferredValue = document.createElement("deferred-value");
              String type = "java.lang.Object";
              if (componentTagAttribute.expression().isValueExpression()) {
                if (componentTagAttribute.type().length == 1
                    // XXX fix me hack
                    && !"org.apache.myfaces.tobago.layout.Measure".equals(componentTagAttribute.type()[0])) {
                  type = componentTagAttribute.type()[0];
                }
View Full Code Here

Examples of org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute.expression()

        if (tagAttribute != null) {
          propertyInfo.setBodyContent(tagAttribute.bodyContent());
          propertyInfo.setTagAttribute(true);
        }
        final String type;
        if (uiComponentTagAttribute.expression().isMethodExpression()) {
          propertyInfo.setMethodExpressionRequired(true);
          type = "javax.faces.el.MethodBinding";
        } else {
          if (uiComponentTagAttribute.expression() == DynamicExpression.VALUE_BINDING_REQUIRED) {
            propertyInfo.setValueExpressionRequired(true);
View Full Code Here

Examples of org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute.expression()

        final String type;
        if (uiComponentTagAttribute.expression().isMethodExpression()) {
          propertyInfo.setMethodExpressionRequired(true);
          type = "javax.faces.el.MethodBinding";
        } else {
          if (uiComponentTagAttribute.expression() == DynamicExpression.VALUE_BINDING_REQUIRED) {
            propertyInfo.setValueExpressionRequired(true);
          } else if (uiComponentTagAttribute.expression() == DynamicExpression.PROHIBITED) {
            propertyInfo.setLiteralOnly(true);
          }
View Full Code Here

Examples of org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute.expression()

          propertyInfo.setMethodExpressionRequired(true);
          type = "javax.faces.el.MethodBinding";
        } else {
          if (uiComponentTagAttribute.expression() == DynamicExpression.VALUE_BINDING_REQUIRED) {
            propertyInfo.setValueExpressionRequired(true);
          } else if (uiComponentTagAttribute.expression() == DynamicExpression.PROHIBITED) {
            propertyInfo.setLiteralOnly(true);
          }

          if (uiComponentTagAttribute.type().length > 1) {
            type = "java.lang.Object";
View Full Code Here

Examples of org.apache.struts.validator.validwhen.ValidWhenParser.expression()

        parser.setForm(bean);
        parser.setIndex(index);
        parser.setValue(value);

        parser.expression();

        return parser.getResult();
    }
}
View Full Code Here

Examples of org.asdt.core.internal.antlr.AS3Parser.expression()

   * expression.
   */
  public static LinkedListTree parseExpr(String expr) {
    AS3Parser parser = ASTUtils.parse(expr + ")");
    try {
      LinkedListTree result = tree(parser.expression());
      ensureRemainingInputIs(parser.getTokenStream(), AS3Parser.RPAREN, expr);
      // zap the trailing ')'
      result.getStopToken().setNext(null);
      return result;
    } catch (RecognitionException e) {
View Full Code Here

Examples of org.auraframework.impl.expression.parser.ExpressionParser.expression()

        CommonTokenStream cts = new CommonTokenStream(lexer);
        ExpressionFactory ef = new ExpressionFactory(l);
        ExpressionParser parser = new ExpressionParser(cts);
        parser.setExpressionFactory(ef);
        try {
            return parser.expression();
        } catch (AuraLexerException x) {
            throw generateException(s, lexer, x.re, l);
        } catch (RecognitionException x) {
            throw generateException(s, parser, x, l);
        }
View Full Code Here

Examples of org.eclipse.jst.jsp.core.internal.java.jspel.JSPELParser.Expression()

    }
   
    String elText = container.getFullText().substring(contentStart, (elRegion != null) ? elRegion.getStart() : (contentLength - 1));
    JSPELParser elParser = JSPELParser.createParser(elText);
    try {
      elParser.Expression();
    }
    catch (ParseException e) {
      int sev = getMessageSeverity(JSPCorePreferenceNames.VALIDATION_EL_SYNTAX);
      if (sev != ValidationMessage.IGNORE) {
        Token curTok = e.currentToken;
View Full Code Here

Examples of org.geotools.filter.ExpressionDOMParser.expression()

                sti.add(getFirstChildValue(child));
            } else if (childName.equalsIgnoreCase("Rule")) {
                rules.add(parseRule(child));
            } else if (childName.equalsIgnoreCase("Transformation")) {
                ExpressionDOMParser parser = new ExpressionDOMParser(CommonFactoryFinder.getFilterFactory2(null));
                Expression tx = parser.expression(getFirstNonTextChild(child));
                ft.setTransformation(tx);
            }
        }

        if (sti.size() > 0) {
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.