|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Expression
Represents an expression. Expressions return true if an object passes the expression.
Expressions can be combined by logical operators like and, or, xor.
(c) 2005 Agical AB
| Method Summary | |
|---|---|
Expression |
and(Expression right)
Ands this expression with the right side expression |
void |
describeWith(ExpressionDescriber expressionDescriber)
Describes this expression with the given describer |
Expression |
or(Expression right)
Ors this expression with the right side expression |
boolean |
passes(java.lang.Object object)
|
Expression |
xor(Expression right)
Xors this expression with the right side expression |
| Method Detail |
|---|
boolean passes(java.lang.Object object)
object - The object to check
void describeWith(ExpressionDescriber expressionDescriber)
throws java.io.IOException
expressionDescriber - The describer to use
java.io.IOExceptionExpression and(Expression right)
right - The right side expression
Expression or(Expression right)
right - The right side expression
Expression xor(Expression right)
right - The right side expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||