Details
Description
XML is a useful persistence mechanism for Expression objects in geotools, but it fails in terms of useability for Expression creation. A mechanism is needed to create an Expression from human readeable text and to convert an Expression into human readeable text. The latter is a simpler proposition requiring the Expression objects to simply produce the standard text or by providing a visitor which is capable of this task. The proposal for the former involves the creation of a javacc grammar describing a minimal expression language, a jjtree parser, and Expression creating node-walker.
Incremental Filter/Expression builder completed to reflect grammar.
Demo at:
http://oms.ars.usda.gov/~en/ExpressionDemo.html
Comments appreciated.