|
|||||||||
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(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. |
Method Detail |
---|
Expression parseExpression(String expressionString) throws ParseException
Some examples:
3 + 4 name.firstName
expressionString
- the raw expression string to parse
ParseException
- an exception occurred during parsingExpression parseExpression(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 |