new ASTScalar(Boolean.TRUE) should do the trick.

Andrus


On Aug 15, 2006, at 3:57 PM, Øyvind Harboe wrote:

On 8/15/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
I don't understand what you're asking.

Can you give a concrete and specific example?

Here I start off with TRUE and then reduce the matching set using andExp().

Expression e=ExpressionFactory.expTrue();

if (xxx)
{
 e=e.andExp(....);
}

if (yyy)
{
 e=e.andExp(....);
}


return e;


--
Øyvind Harboe
http://www.zylin.com


Reply via email to