|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.binding.expression.el.ELExpressionParser
public class ELExpressionParser
The expression parser that parses EL expressions.
| Constructor Summary | |
|---|---|
ELExpressionParser(javax.el.ExpressionFactory expressionFactory)
Creates a new EL expression parser for standalone usage. |
|
| Method Summary | |
|---|---|
ConversionService |
getConversionService()
The conversion service to use to perform type conversions as needed by the Unified EL system. |
Expression |
parseExpression(java.lang.String expressionString,
ParserContext context)
Parse the expression string and return a compiled Expression object you can use for evaluation. |
void |
putContextFactory(java.lang.Class<?> contextType,
ELContextFactory contextFactory)
Register the ELContextFactory for expressions that evaluate the given class of context object. |
void |
setConversionService(ConversionService conversionService)
Sets the conversion service to use to perform type conversions as needed by the Unified EL system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ELExpressionParser(javax.el.ExpressionFactory expressionFactory)
| Method Detail |
|---|
public ConversionService getConversionService()
DefaultConversionService.
public void setConversionService(ConversionService conversionService)
conversionService - the conversion service to use
public void putContextFactory(java.lang.Class<?> contextType,
ELContextFactory contextFactory)
contextType - the expression context classcontextFactory - the context factory to use for expressions that evaluate those types of contexts
public Expression parseExpression(java.lang.String expressionString,
ParserContext context)
throws ParserException
ExpressionParser
3 + 4
name.firstName
parseExpression in interface ExpressionParserexpressionString - the raw expression string to parsecontext - a context for influencing this expression parsing routine (optional)
ParserException - an exception occurred during parsing
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||