Class CompositeStringExpression

  • All Implemented Interfaces:
    Expression

    public class CompositeStringExpression
    extends Object
    implements Expression
    Represents a template expression broken into pieces. Each piece will be an Expression but pure text parts to the template will be represented as LiteralExpression objects. An example of a template expression might be:
     "Hello ${getName()}"
     
    which will be represented as a CompositeStringExpression of two parts. The first part being a LiteralExpression representing 'Hello ' and the second part being a real expression that will call getName() when invoked.
    Since:
    3.0
    Author:
    Andy Clement, Juergen Hoeller