|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExpressionParser
Parses expression strings into compiled expressions that can be evaluated. Supports parsing templates as well as standard expression strings.
Method Summary | |
---|---|
Expression |
parseExpression(java.lang.String expressionString)
Parse the expression string and return an Expression object you can use for repeated evaluation. |
Expression |
parseExpression(java.lang.String expressionString,
ParserContext context)
Parse the expression string and return an Expression object you can use for repeated evaluation. |
Method Detail |
---|
Expression parseExpression(java.lang.String expressionString) throws ParseException
Some examples:
3 + 4 name.firstName
expressionString
- the raw expression string to parse
ParseException
- an exception occurred during parsingExpression parseExpression(java.lang.String expressionString, ParserContext context) throws ParseException
Some examples:
3 + 4 name.firstName
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 |