Package org.geotools.data.memory
Class CollectionSource<T>
- Object
-
- CollectionSource<T>
-
public final class CollectionSource<T> extends Object
Used to quickly adapt a collection for APIs expecting to be able to query generic content.Please note that this is read-only access.
- Author:
- Jody Garnett
-
-
Constructor Summary
Constructors Constructor Description CollectionSource(Collection<T> collection)
CollectionSource(Collection<T> collection, CoordinateReferenceSystem crs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<T>
content()
Collection<T>
content(String query, String queryLanguage)
Collection<T>
content(Filter filter)
Collection<T>
content(Filter filter, int countLimit)
Object
describe()
void
dispose()
CoordinateReferenceSystem
getCRS()
FilterCapabilities
getFilterCapabilities()
Name
getName()
void
setTransaction(Transaction t)
-
-
-
Constructor Detail
-
CollectionSource
public CollectionSource(Collection<T> collection)
-
CollectionSource
public CollectionSource(Collection<T> collection, CoordinateReferenceSystem crs)
-
-
Method Detail
-
content
public Collection<T> content()
-
content
public Collection<T> content(String query, String queryLanguage)
-
content
public Collection<T> content(Filter filter)
-
content
public Collection<T> content(Filter filter, int countLimit)
-
describe
public Object describe()
-
dispose
public void dispose()
-
getFilterCapabilities
public FilterCapabilities getFilterCapabilities()
-
getName
public Name getName()
-
setTransaction
public void setTransaction(Transaction t)
-
getCRS
public CoordinateReferenceSystem getCRS()
-
-