[Geoserver-devel] Filter Functions -- generic adding

I modified the Spatial DB in Box code generator and now it spits out
"org.geotools.filter.FunctionExpression" wrappers!

So, I've added all the JTS geometry functions (like intersects(),
relate(), perimeter(), getGeometryN(), getGeometryType(), etc...) and I
added a bunch of String functions (like substring, match, startsWith,
etc...).

I also added a few convenience functions like:

static public boolean strIn4(String s, String s1, String s2,String s3,
String s4)
{
       return (s.equals(s1) || s.equals(s2)|| s.equals(s3)||
s.equals(s4));
}

I have 2 questions:
1. Where should I stick the autogenerator code?
2. Anyone have any functions they want to add?

dave
ps. I've attached the .java that everything is derived from.

----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/

(attachments)

StaticGeometry.java (12.4 KB)