|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ParserContext
Input provided to an expression parser that can influence an expression parsing/compilation routine.
| Field Summary | |
|---|---|
static ParserContext |
TEMPLATE_EXPRESSION
The default ParserContext implementation that enables template expression parsing mode. |
| Method Summary | |
|---|---|
String |
getExpressionPrefix()
For template expressions, returns the prefix that identifies the start of an expression block within a string. |
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. |
| Field Detail |
|---|
static final ParserContext TEMPLATE_EXPRESSION
isTemplate()| Method Detail |
|---|
boolean isTemplate()
Some literal text
Hello #{name.firstName}!
#{3 + 4}
String getExpressionPrefix()
String getExpressionSuffix()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||