|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.ogcwebservices.wfs.FeatureDisambiguator
class FeatureDisambiguator
Responsible for the normalization of feature collections that are going to be persisted (i.e. inserted into a
Datastore
). This is necessary, because it is up to WFS clients whether feature ids
(gml:id attribute) are provided in an insert/update request or not.
After processing, the resulting feature collection meets the following requirements:
FeatureIdAssigner
class in a later step.
Constructor Summary | |
---|---|
FeatureDisambiguator(FeatureCollection fc)
Creates a new FeatureDisambiguator to disambiguate the given feature collection. |
Method Summary | |
---|---|
(package private) boolean |
checkForAnonymousFeatures()
Checks if any anonymous features (without id) are present in the feature collection. |
(package private) FeatureCollection |
mergeFeatures()
Merges all "equal" feature (and subfeature) instances in the associated feature collection that do not have a feature id. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
FeatureDisambiguator(FeatureCollection fc)
FeatureDisambiguator
to disambiguate the given feature collection.
fc
- feature collection to disambiguateMethod Detail |
---|
boolean checkForAnonymousFeatures()
FeatureCollection mergeFeatures() throws DatastoreException
It is considered an error if there is more than root feature with the same id after the identification of equal features.
Furthermore, there is always only one feature instance with a certain id, i.e. "equal" features are represented by the same feature instance.
DatastoreException
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org