Delegates to another instance of FeatureCollection. A useful means of
overriding the behaviour of a FeatureCollection dynamically, at run-time
(i.e. without subclassing).
checkNotWrappingSameClass() Throws an AssertionFailedException if this FeatureCollectionWrapper wraps
(directly or indirectly) another FeatureCollectionWrapper having the same
class (or descendant class thereof).
getWrappee() Returns the FeatureCollection that this wrapper delegates to (possibly
another FeatureCollectionWrapper).
public boolean
hasWrapper(Class c) Returns whether this FeatureCollectionWrapper (or a
FeatureCollectionWrapper that it wraps, directly or indirectly) is an
instance of the given class (or one of its descendants).
Throws an AssertionFailedException if this FeatureCollectionWrapper wraps
(directly or indirectly) another FeatureCollectionWrapper having the same
class (or descendant class thereof). A consistency check that is useful
for some FeatureCollectionWrapper implementations.
Returns the non-wrapper FeatureCollection wrapped by this wrapper and
possibly by other wrappers in-between. Intended to get at the "real"
FeatureCollection underneath several layers of FeatureCollectionWrappers.
See Also:FeatureCollectionWrapper.getWrappee()
Returns whether this FeatureCollectionWrapper (or a
FeatureCollectionWrapper that it wraps, directly or indirectly) is an
instance of the given class (or one of its descendants).