org.apache.slide.search.basic
Interface IBasicExpressionCompiler

All Known Implementing Classes:
BasicExpressionCompiler

public interface IBasicExpressionCompiler

Compiles an expression represented by a JDOM Element (-tree) into an IBasicExpression (-tree).

Version:
$Revision: 1.3 $

Method Summary
 IBasicExpression compile(org.jdom.Element expressionElement)
          Compiles an IBasicExpression (-tree) from the given expressionElement.
 

Method Detail

compile

public IBasicExpression compile(org.jdom.Element expressionElement)
                         throws BadQueryException
Compiles an IBasicExpression (-tree) from the given expressionElement.

Parameters:
expressionElement - the (root) expression Element to compile into an IBasicExpression.
Returns:
the compiled IBasicExpression.
Throws:
BadQueryException - if compiling the expression failed.