public class FeatureCollection extends AbstractFeature implements Iterable<AbstractFeature>
| Constructor and Description |
|---|
FeatureCollection()
constructor
|
FeatureCollection(Map<String,AbstractFeature> members)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
FeatureCollection |
addMember(AbstractFeature member) |
Map<String,AbstractFeature> |
getMembers()
Get features
|
boolean |
isSetMembers()
Check whether members are set
|
Iterator<AbstractFeature> |
iterator() |
AbstractFeature |
removeMember(String featureIdentifier) |
void |
setMembers(Map<String,AbstractFeature> members)
Set features
|
accept, copyTo, getDefaultElementEncoding, getXml, isEncoded, isSetDefaultElementEncoding, isSetXml, setDefaultElementEncoding, setXml, wasEncodedaddMetaDataProperty, addMetaDataProperty, addName, addName, addName, copyTo, equals, getDescription, getFirstName, getGmlId, getHumanReadableIdentifier, getHumanReadableIdentifierCodeWithAuthority, getIdentifier, getIdentifierCodeWithAuthority, getMetaDataProperty, getName, getOriginalIdentifier, getOriginalIdentifierCodeWithAuthority, hashCode, isReferenced, isSetDescription, isSetGmlID, isSetHumanReadableIdentifier, isSetIdentifier, isSetMetaDataProperty, isSetName, isSetOriginalIdentifier, setDescription, setGmlId, setHumanReadableIdentifier, setHumanReadableIdentifier, setHumanReadableIdentifierAsIdentifier, setIdentifier, setIdentifier, setMetaDataProperty, setName, setNameclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic FeatureCollection()
public FeatureCollection(Map<String,AbstractFeature> members)
members - collection with feature members of this collectionpublic Map<String,AbstractFeature> getMembers()
public void setMembers(Map<String,AbstractFeature> members)
members - the members to setpublic FeatureCollection addMember(AbstractFeature member)
public AbstractFeature removeMember(String featureIdentifier)
featureIdentifier - the idMap.remove(Object)public boolean isSetMembers()
true, if members are setpublic Iterator<AbstractFeature> iterator()
iterator in interface Iterable<AbstractFeature>Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.