| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.expression.common.TemplateAwareExpressionParser
public abstract class TemplateAwareExpressionParser
An expression parser that understands templates. It can be subclassed by expression parsers that do not offer first class support for templating.
| Constructor Summary | |
|---|---|
| TemplateAwareExpressionParser() | |
| Method Summary | |
|---|---|
| protected abstract  Expression | doParseExpression(String expressionString,
                  ParserContext context)Actually parse the expression string and return an Expression object. | 
|  Expression | parseExpression(String expressionString)Parse the expression string and return an Expression object you can use for repeated evaluation. | 
|  Expression | parseExpression(String expressionString,
                ParserContext context)Parse the expression string and return an Expression object you can use for repeated evaluation. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public TemplateAwareExpressionParser()
| Method Detail | 
|---|
public Expression parseExpression(String expressionString)
                           throws ParseException
ExpressionParserSome examples:
     3 + 4
     name.firstName
 
parseExpression in interface ExpressionParserexpressionString - the raw expression string to parse
ParseException - an exception occurred during parsing
public Expression parseExpression(String expressionString,
                                  ParserContext context)
                           throws ParseException
ExpressionParserSome examples:
     3 + 4
     name.firstName
 
parseExpression in interface ExpressionParserexpressionString - the raw expression string to parsecontext - a context for influencing this expression parsing routine (optional)
ParseException - an exception occurred during parsing
protected abstract Expression doParseExpression(String expressionString,
                                                ParserContext context)
                                         throws ParseException
expressionString - the raw expression string to parsecontext - a context for influencing this expression parsing routine (optional)
ParseException - an exception occurred during parsing| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||