|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines a feature ID filter, which holds a list of feature IDs. This filter stores a series of feature IDs, which are used to distinguish features uniquely.
Field Summary |
Fields inherited from interface org.geotools.filter.Filter |
ALL, NONE |
Fields inherited from interface org.geotools.filter.FilterType |
BETWEEN, COMPARE_EQUALS, COMPARE_GREATER_THAN, COMPARE_GREATER_THAN_EQUAL, COMPARE_LESS_THAN, COMPARE_LESS_THAN_EQUAL, COMPARE_NOT_EQUALS, FID, GEOMETRY_BBOX, GEOMETRY_BEYOND, GEOMETRY_CONTAINS, GEOMETRY_CROSSES, GEOMETRY_DISJOINT, GEOMETRY_DWITHIN, GEOMETRY_EQUALS, GEOMETRY_INTERSECTS, GEOMETRY_OVERLAPS, GEOMETRY_TOUCHES, GEOMETRY_WITHIN, LIKE, LOGIC_AND, LOGIC_NOT, LOGIC_OR, NULL |
Method Summary | |
void |
addAllFids(java.util.Collection fidsToAdd)
Adds a collection of feature IDs to the filter. |
void |
addFid(java.lang.String fid)
Adds a feature ID to the filter. |
boolean |
contains(Feature feature)
Deprecated. use org.opengis.filter.Filter#evaluate(Feature) |
java.lang.String[] |
getFids()
Deprecated. use FeatureId.getIDs() |
void |
removeAllFids(java.util.Collection fidsToRemove)
Removes a collection of feature IDs from the filter. |
void |
removeFid(java.lang.String fid)
Removes a feature ID from the filter. |
Methods inherited from interface org.geotools.filter.Filter |
accept, and, evaluate, getFilterType, not, or |
Methods inherited from interface org.opengis.filter.Filter |
accept, evaluate |
Methods inherited from interface org.opengis.filter.FeatureId |
getIDs, setIDs |
Method Detail |
public boolean contains(Feature feature)
org.opengis.filter.Filter#evaluate(Feature)
contains
in interface Filter
feature
- Specified feature to examine.
public void addFid(java.lang.String fid)
fid
- A single feature ID.public java.lang.String[] getFids()
FeatureId.getIDs()
public void addAllFids(java.util.Collection fidsToAdd)
fidsToAdd
- A collection of feature IDs.public void removeAllFids(java.util.Collection fidsToRemove)
fidsToRemove
- A collection of feature IDs.public void removeFid(java.lang.String fid)
fid
- A single feature ID.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |