Package org.springframework.binding.expression

Examples of org.springframework.binding.expression.ExpressionParser.parseExpression()


    if (StringUtils.hasText(output.getValue())) {
      value = output.getValue();
    } else {
      value = name;
    }
    Expression source = parser.parseExpression(value, new FluentParserContext().evaluate(RequestContext.class));
    Expression target = parser.parseExpression(name, new FluentParserContext().evaluate(MutableAttributeMap.class));
    DefaultMapping mapping = new DefaultMapping(source, target);
    parseAndSetMappingConversionExecutor(output, mapping);
    parseAndSetMappingRequired(output, mapping);
    return mapping;
View Full Code Here


      value = output.getValue();
    } else {
      value = name;
    }
    Expression source = parser.parseExpression(value, new FluentParserContext().evaluate(RequestContext.class));
    Expression target = parser.parseExpression(name, new FluentParserContext().evaluate(MutableAttributeMap.class));
    DefaultMapping mapping = new DefaultMapping(source, target);
    parseAndSetMappingConversionExecutor(output, mapping);
    parseAndSetMappingRequired(output, mapping);
    return mapping;
  }
View Full Code Here

    if (StringUtils.hasText(output.getValue())) {
      value = output.getValue();
    } else {
      value = "flowScope." + name;
    }
    Expression source = parser.parseExpression(name, new FluentParserContext().evaluate(MutableAttributeMap.class));
    Expression target = parser.parseExpression(value, new FluentParserContext().evaluate(RequestContext.class));
    DefaultMapping mapping = new DefaultMapping(source, target);
    parseAndSetMappingConversionExecutor(output, mapping);
    parseAndSetMappingRequired(output, mapping);
    return mapping;
View Full Code Here

      value = output.getValue();
    } else {
      value = "flowScope." + name;
    }
    Expression source = parser.parseExpression(name, new FluentParserContext().evaluate(MutableAttributeMap.class));
    Expression target = parser.parseExpression(value, new FluentParserContext().evaluate(RequestContext.class));
    DefaultMapping mapping = new DefaultMapping(source, target);
    parseAndSetMappingConversionExecutor(output, mapping);
    parseAndSetMappingRequired(output, mapping);
    return mapping;
  }
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.