So I ran into this same problem (when doing QA on DuplicatingFilterVisitor and patched trunk). The mistake for me as an API designer was leaving he getPropertyName(), getMinX()...getSRS() methods in the API as documentation.
I need to be more decisive; and we need to have less method to prevent confusion... adding to my list of notes to work on. Jody Jody Garnett wrote: > Filter interfaces are as advertised; they are more general prupose that > the Filter 1.0 or Filter 1.1 specification (and we would like to keep > them that way). If you need to make something strictly conformant to a > specification read the javadocs; and recognize when you use > FilterFactory2 that you ... > > An example; Contains.getPropertyName() is only going to return a valid > value when getExpression1() is a PropertyName (it is documented as such). > Jody > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
