public interface Parser
Modifier and Type | Method and Description |
---|---|
Expression |
parseExpression(java.lang.String expressionString,
DataModel dataModel)
Attempts to parse the
String argument to an Expression . |
Expression parseExpression(java.lang.String expressionString, DataModel dataModel) throws ParserException
String
argument to an Expression
.
Parsing checks for syntax, lexical and semantic errors. The dataModel argument is used to check for fields referenced in the expression.
Parsing using this method will fail if the String
contains reference to Processor
or ProcessorStream
related
functions and values such as GlobalValues, Parameters and database functions.expressionString
- - the String
to parsedataModel
- - the data modelParserException
- - if the String
does not contain a parsable Expression.Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.