|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.feature.Features
public class Features
Provides utility methods for common tasks that involve Feature and FeatureCollection objects.
| Constructor Summary | |
|---|---|
Features()
|
|
| Method Summary | |
|---|---|
static void |
findFeaturesAndGeometries(TypedObjectNode node,
Set<Geometry> geometries,
Set<Feature> features,
Set<String> fids,
Set<String> gids)
Determines all Feature and Geometry objects contained in the given TypedObjectNode and
their ids. |
static FeatureCollection |
sortFc(FeatureCollection fc,
SortProperty[] sortCrits)
Returns a sorted FeatureCollection. |
static FeatureCollection |
toCollection(FeatureInputStream is)
Returns all members of the given FeatureInputStream as a FeatureCollection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Features()
| Method Detail |
|---|
public static FeatureCollection toCollection(FeatureInputStream is)
FeatureInputStream as a FeatureCollection.
NOTE: This method should not be called for very large result sets, as it introduces the overhead of keeping all
created feature instances in memory. The returned collection will contain all Features instances from the
current position in the iteration sequence.
null
public static FeatureCollection sortFc(FeatureCollection fc,
SortProperty[] sortCrits)
FeatureCollection.
fc - feature collection to be sorted, must not be nullsortCrits - sort criteria
null
public static void findFeaturesAndGeometries(TypedObjectNode node,
Set<Geometry> geometries,
Set<Feature> features,
Set<String> fids,
Set<String> gids)
Feature and Geometry objects contained in the given TypedObjectNode and
their ids.
node - typed object node to be scanned, can be nullgeometries - found geometry objects (not References), must not be nullfeatures - found feature objects (not References), must not be nullfids - found feature ids, must not be nullgids - found geometry ids, must not be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||