org.apache.catalina.ssi

Class ExpressionParseTree


public class ExpressionParseTree
extends java.lang.Object

Represents a parsed expression.

Version:
$Revision: 1.1.2.1 $

Author:
Paul Speed

Constructor Summary

ExpressionParseTree(String expr, SSIMediator ssiMediator)
Creates a new parse tree for the specified expression.

Method Summary

boolean
evaluateTree()
Evaluates the tree and returns true or false.

Constructor Details

ExpressionParseTree

public ExpressionParseTree(String expr,
                           SSIMediator ssiMediator)
            throws ParseException
Creates a new parse tree for the specified expression.

Method Details

evaluateTree

public boolean evaluateTree()
Evaluates the tree and returns true or false. The specified SSIMediator is used to resolve variable references.


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.