| org.geotools.feature.iso.collection.AbstractResourceCollection org.geotools.feature.iso.collection.SubFeatureCollection
All known Subclasses: org.geotools.feature.iso.collection.SubSimpleFeatureCollection, org.geotools.feature.iso.collection.SubFeatureList,
SubFeatureCollection | public class SubFeatureCollection extends AbstractResourceCollection implements FeatureCollection(Code) | | Used as a reasonable default implementation for subCollection.
Note: to implementors, this is not optimal, please do your own thing - your
users will thank you.
author: Jody Garnett, Refractions Research, Inc. author: Justin Deoliveira, The Open Planning Project |
Field Summary | |
protected FeatureCollection | collection The unfiltered feature collection. | protected FilterFactory | factory Filter used to contstruct new filters. | protected Filter | filter Filters the unfiltered feature collection. |
Constructor Summary | |
public | SubFeatureCollection(FeatureCollection collection, Filter filter, FilterFactory factory) |
collection | protected FeatureCollection collection(Code) | | The unfiltered feature collection.
|
factory | protected FilterFactory factory(Code) | | Filter used to contstruct new filters.
|
filter | protected Filter filter(Code) | | Filters the unfiltered feature collection.
|
SubFeatureCollection | public SubFeatureCollection(FeatureCollection collection, Filter filter, FilterFactory factory)(Code) | | |
accepts | public void accepts(FeatureVisitor visitor, ProgressListener progress)(Code) | | Accepts a visitor, which then visits each feature in the collection.
|
descriptor | public PropertyDescriptor descriptor()(Code) | | |
get | public List get(Name name)(Code) | | TODO: implement
|
getBounds | public BoundingBox getBounds()(Code) | | |
getCRS | public CoordinateReferenceSystem getCRS()(Code) | | |
getDefaultGeometry | public GeometryAttribute getDefaultGeometry()(Code) | | |
getDescriptor | public AttributeDescriptor getDescriptor()(Code) | | |
getType | public AttributeType getType()(Code) | | |
nillable | public boolean nillable()(Code) | | |
setCRS | public void setCRS(CoordinateReferenceSystem crs)(Code) | | |
setDefaultGeometry | public void setDefaultGeometry(GeometryAttribute geom)(Code) | | |
sort | public FeatureCollection sort(org.opengis.filter.sort.SortBy order)(Code) | | |
subCollection | public FeatureCollection subCollection(org.opengis.filter.Filter filter)(Code) | | |
Fields inherited from org.geotools.feature.iso.collection.AbstractResourceCollection | final protected Set open(Code)(Java Doc)
|
|
|