public class ParametersParser
extends java.lang.Object
Expression
parsing mechanism except the
file reference case.
The syntax of the file reference is the following:
?{file <Expression>}
The result of expression evaluation must be of String or URL type.
Examples:
Expression
Constructor and Description |
---|
ParametersParser(DriverContext driverContext)
Creates a file reference parser.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(java.lang.String expression,
ParametersCallback parameters)
Parses specified expression and returns the result of evaluation.
|
public ParametersParser(DriverContext driverContext)
driverContext
- drivers content to use for URL resolution.public java.lang.Object evaluate(java.lang.String expression, ParametersCallback parameters)
expression
- expression to parse.Copyright © Copyright 2006-2019 The Scriptella Project Team.