org.geotools.data.memory
Class CollectionSource

Object
  extended by CollectionSource

public final class CollectionSource
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
CollectionSource(Collection collection)
           
CollectionSource(Collection collection, CoordinateReferenceSystem crs)
           
 
Method Summary
 Collection content()
           
 Collection content(Filter filter)
           
 Collection content(Filter filter, int countLimit)
           
 Collection content(String query, String queryLanguage)
           
 Object describe()
           
 void dispose()
           
 CoordinateReferenceSystem getCRS()
           
 FilterCapabilities getFilterCapabilities()
           
 Name getName()
           
 void setTransaction(Transaction t)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionSource

public CollectionSource(Collection collection)

CollectionSource

public CollectionSource(Collection collection,
                        CoordinateReferenceSystem crs)
Method Detail

content

public Collection content()

content

public Collection content(String query,
                          String queryLanguage)

content

public Collection content(Filter filter)

content

public Collection 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()


Copyright © 1996-2009 Geotools. All Rights Reserved.