org.springframework.expression.ParserContext |
Known Indirect Subclasses |
Input provided to an expression parser that can influence an expression parsing/compilation routine.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TEMPLATE_EXPRESSION | The default ParserContext implementation that enables template expression parsing mode. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
For template expressions, returns the prefix that identifies the start of an expression block within a string.
| |||||||||||
For template expressions, return the prefix that identifies the end of an expression block within a string.
| |||||||||||
Whether or not the expression being parsed is a template.
|
The default ParserContext implementation that enables template expression parsing mode. The expression prefix is #{ and the expression suffix is }.
For template expressions, returns the prefix that identifies the start of an expression block within a string. For example: "${"
For template expressions, return the prefix that identifies the end of an expression block within a string. For example: "}"
Whether or not the expression being parsed is a template. A template expression consists of literal text that can be mixed with evaluatable blocks. Some examples:
Some literal text Hello #{name.firstName}! #{3 + 4}