com.agical.rmock.core.match.operator
Class AbstractBinaryOperator

java.lang.Object
  extended by com.agical.rmock.core.match.operator.AbstractExpression
      extended by com.agical.rmock.core.match.operator.AbstractBinaryOperator
All Implemented Interfaces:
Expression, Operator
Direct Known Subclasses:
AndOperator, OrOperator, XorOperator

public abstract class AbstractBinaryOperator
extends AbstractExpression
implements Operator


Constructor Summary
AbstractBinaryOperator(java.lang.String operator, Expression left, Expression right)
           
 
Method Summary
 void describeWith(ExpressionDescriber constraintDescriber)
          Describes this expression with the given describer
 Expression getLeft()
           
 Expression getRight()
           
 
Methods inherited from class com.agical.rmock.core.match.operator.AbstractExpression
and, or, xor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.agical.rmock.core.match.Expression
and, or, passes, xor
 

Constructor Detail

AbstractBinaryOperator

public AbstractBinaryOperator(java.lang.String operator,
                              Expression left,
                              Expression right)
Method Detail

describeWith

public void describeWith(ExpressionDescriber constraintDescriber)
                  throws java.io.IOException
Description copied from interface: Expression
Describes this expression with the given describer

Specified by:
describeWith in interface Expression
Parameters:
constraintDescriber - The describer to use
Throws:
java.io.IOException

getLeft

public Expression getLeft()

getRight

public Expression getRight()


Copyright © 2005-2010 Agical AB. All Rights Reserved.