Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Motivation:

FilterFactory2 causes some confusion

Contact:

Jody Garnett

Issue:https://jira.codehaus.org/browse/GEOT-3056

Tagline:

Excerpt

filterfactory2Pull up methods from FilterFactory2

Section
Column
width70%
Table of Contents
Column

Children:

Children Display

...

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

...

.

...

...