Class ExpressionParseTree
java.lang.Object
org.apache.catalina.ssi.ExpressionParseTree
Represents a parsed expression.
- 
Constructor Summary
ConstructorsConstructorDescriptionExpressionParseTree(String expr, SSIMediator ssiMediator) Creates a new parse tree for the specified expression. - 
Method Summary
Modifier and TypeMethodDescriptionbooleanEvaluates the tree and returns true or false. 
- 
Constructor Details
- 
ExpressionParseTree
Creates a new parse tree for the specified expression.- Parameters:
 expr- The expression stringssiMediator- Used to evaluate the expressions- Throws:
 ParseException- a parsing error occurred
 
 - 
 - 
Method Details
- 
evaluateTree
Evaluates the tree and returns true or false. The specified SSIMediator is used to resolve variable references.- Returns:
 - the evaluation result
 - Throws:
 SSIStopProcessingException- If an error occurs evaluating the tree
 
 -