You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Jerry DuVal <jd...@pace2020.com> on 2007/02/20 16:03:03 UTC

JEXL ParserVisitor / Validation of expressions against model

I don't see any examples of usages, does anyone have one? Basically we allow
our users to enter JEXL expressions on our Data Objects as metadata used in
the application.  I want to validate the expression entered against our
ObjectModel to determine if the expression entered is valid.  I noticed the
ParserVisitor, but have not determined how to use it.  I would like to visit
the AST and verify the nodes against our internal ObjectModel, unless
someone else has a better suggestion?

Thanks in advance

Jerry DuVal
Pace Systems Group, Inc.
800.624.5999
www.Pace2020.com