java.lang.Object | |
↳ | org.springframework.expression.common.TemplateParserContext |
Configurable ParserContext
implementation for template parsing.
Expects the expression prefix and suffix as constructor arguments.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.springframework.expression.ParserContext
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new TemplateParserContext with the default "#{" prefix and "}" suffix.
| |||||||||||
Create a new TemplateParserContext for the given prefix and suffix.
|
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.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.expression.ParserContext
|
Create a new TemplateParserContext with the default "#{" prefix and "}" suffix.
Create a new TemplateParserContext for the given prefix and suffix.
expressionPrefix | the expression prefix to use |
---|---|
expressionSuffix | the expression suffix to use |
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}