Class LiteralExpression

  • All Implemented Interfaces:
    Expression

    public class LiteralExpression
    extends Object
    implements Expression
    A very simple hardcoded implementation of the Expression interface that represents a string literal. It is used with CompositeStringExpression when representing a template expression which is made up of pieces - some being real expressions to be handled by an EL implementation like SpEL, and some being just textual elements.
    Since:
    3.0
    Author:
    Andy Clement, Juergen Hoeller