org.objectweb.medor.filter.lib

Class BasicBelongOperator

Implemented Interfaces:
BelongOperator, BinaryOperator

public class BasicBelongOperator
extends BasicBinaryOperator
implements BelongOperator

Author:
Sebastien Chassande-Barrioz

Constructor Summary

BasicBelongOperator()
BasicBelongOperator(Expression e0, Expression e1)

Method Summary

Operand
compileExpression()
Operand
evaluate(ParameterOperand[] pos, Object o)
boolean
evaluate(Tuple tuple, TupleCollection tc)
String
getOperatorString()
There is no Java operator for belong.

Constructor Details

BasicBelongOperator

public BasicBelongOperator()


BasicBelongOperator

public BasicBelongOperator(Expression e0,
                           Expression e1)

Method Details

compileExpression

public Operand compileExpression()
            throws ExpressionException,
                   MalformedExpressionException


evaluate

public Operand evaluate(ParameterOperand[] pos,
                        Object o)
            throws ExpressionException


evaluate

public boolean evaluate(Tuple tuple,
                        TupleCollection tc)
            throws MedorException
Specified by:
evaluate in interface BelongOperator


getOperatorString

public String getOperatorString()
There is no Java operator for belong.