public interface ParserContext
| Modifier and Type | Field and Description |
|---|---|
static ParserContext |
TEMPLATE_EXPRESSION
The default ParserContext implementation that enables template expression parsing
mode.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getExpressionPrefix()
For template expressions, returns the prefix that identifies the start of an
expression block within a string.
|
java.lang.String |
getExpressionSuffix()
For template expressions, return the prefix that identifies the end of an
expression block within a string.
|
boolean |
isTemplate()
Whether or not the expression being parsed is a template.
|
static final ParserContext TEMPLATE_EXPRESSION
isTemplate()boolean isTemplate()
Some literal text
Hello #{name.firstName}!
#{3 + 4}
java.lang.String getExpressionPrefix()
java.lang.String getExpressionSuffix()