Motivation: | FilterFactory2 causes some confusion | ||
|---|---|---|---|
Contact: | |||
| Issue: | https://jira.codehaus.org/browse/GEOT-3056 | ||
Tagline: |
|
| Section | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
...
API Changes
BEFORE
| Code Block |
|---|
public interface FilterFactory {
...
/** Checks if the feature's geometry touches, but does not overlap with the geometry held by this object. */
Touches touches(String propertyName, Geometry geometry);
...
}
public interface FilterFactory2 extends FilterFactory {
/** Checks if the feature's geometry touches, but does not overlap with the geometry held by this object. */
Touches touches(Expression propertyName1, Expression geometry2);
}
|
AFTER
| Code Block |
|---|
public interface FilterFactory {
...
/** Checks if the feature's geometry touches, but does not overlap with the geometry held by this object. */
Touches touches(String propertyName, Object geometry);
/**
* GeoTools extension to check if a geometry touches, but does not overlap with a second geometry.
*/
Touches touches(Expression propertyName1, Expression geometry2);
...
}
public interface FilterFactory2 extends FilterFactory {
// empty
}
|
Documentation Changes
...
list the pages Code examples won't be effected by this proposal
...
.
...
...