public class TemplateParserContext extends Object implements ParserContext
ParserContext implementation for template parsing. Expects the
 expression prefix and suffix as constructor arguments.TEMPLATE_EXPRESSION| Constructor and Description | 
|---|
| TemplateParserContext()Create a new TemplateParserContext with the default "#{" prefix and "}" suffix. | 
| TemplateParserContext(String expressionPrefix,
                     String expressionSuffix)Create a new TemplateParserContext for the given prefix and suffix. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
public TemplateParserContext()
public final boolean isTemplate()
ParserContext
           Some literal text
     Hello #{name.firstName}!
     #{3 + 4}
 isTemplate in interface ParserContextpublic final String getExpressionPrefix()
ParserContextgetExpressionPrefix in interface ParserContextpublic final String getExpressionSuffix()
ParserContextgetExpressionSuffix in interface ParserContext