|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.feature.AbstractFeature
org.deegree.feature.AbstractFeatureCollection
public abstract class AbstractFeatureCollection
Abstract base class for common FeatureCollection implementations.
| Field Summary |
|---|
| Fields inherited from class org.deegree.feature.AbstractFeature |
|---|
fid, ft, standardProps |
| Constructor Summary | |
|---|---|
protected |
AbstractFeatureCollection(java.lang.String fid,
FeatureCollectionType ft)
Creates a new AbstractFeatureCollection instance. |
| Method Summary | |
|---|---|
protected Envelope |
calcEnvelope()
Helper method for calculating the envelope of a feature. |
Envelope |
getEnvelope()
Returns the envelope of the feature. |
FeatureCollection |
getMembers(Filter filter,
XPathEvaluator<Feature> evaluator)
Returns the member features that match the given Filter. |
FeatureCollectionType |
getType()
Returns the type information for this feature. |
| Methods inherited from class org.deegree.feature.AbstractFeature |
|---|
getGMLProperties, getId, getName, getProperties, getProperties, getProperty, setId, setProperties, setPropertyValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.deegree.feature.FeatureCollection |
|---|
getFeatureStream |
| Methods inherited from interface org.deegree.feature.Feature |
|---|
getGeometryProperties, getGMLProperties, getId, getName, getProperties, getProperties, getProperties, getProperties, getProperty, getProperty, setId, setProperties, setProperties, setPropertyValue, setPropertyValue |
| Methods inherited from interface java.util.Collection |
|---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Constructor Detail |
|---|
protected AbstractFeatureCollection(java.lang.String fid,
FeatureCollectionType ft)
AbstractFeatureCollection instance.
fid - feature id or null if the feature is anonymous (discouraged for most use cases)ft - feature type, must not be null| Method Detail |
|---|
public FeatureCollectionType getType()
Feature
getType in interface FeaturegetType in interface FeatureCollectiongetType in class AbstractFeaturenull
public FeatureCollection getMembers(Filter filter,
XPathEvaluator<Feature> evaluator)
throws FilterEvaluationException
FeatureCollectionFilter.
getMembers in interface FeatureCollectionfilter - Filter to be applied, must not be nullevaluator - evaluator to use for evaluating XPath expressions, must not be null
FeatureCollection
FilterEvaluationException - if an exception occurs during the evaluation of the Filterpublic Envelope getEnvelope()
Feature
getEnvelope in interface FeaturegetEnvelope in class AbstractFeaturenull if the feature has no envelope information / geometry
propertiesprotected Envelope calcEnvelope()
AbstractFeature
calcEnvelope in class AbstractFeature
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||