| org.geotools.data.Source
Source | public interface Source (Code) | | A read-only source of geospatial information.
Access to the spatial information in a filtered/queried or not. Access
is purely read-only with this interface.
author: Jody Garnett author: Thomas Marti author: Stefan Schmid version: $Id: Source.java 26649 2007-08-22 09:55:31Z groldan $ since: 2.4 author: Jody Garnett, Refractions Research Inc. |
Method Summary | |
Collection | content() Get the complete data of this Source implementation. | Collection | content(String query, String queryLanguage) Get the complete data of this Source implementation. | Collection | content(Filter filter) A collection containing all the data indicated by the filter. | Collection | content(Filter filter, int countLimit) A collection containing all the data indicated by the filter, with a maximum
of countLimit elements. | Object | describe() Description of content in an appropriate format. | void | dispose() Clean up any resources, listeners, etc that made use of this Source of data.
Please note this Source will not function after this method is
called. | FilterCapabilities | getFilterCapabilities() Description of the supported filter capabilities. | GeoResourceInfo | getInfo() Information about the data available here. | Name | getName() Names of the content this data source provides. | void | setTransaction(Transaction t) Provides a transaction for commit/rollback control of this Source . |
content | Collection content()(Code) | | Get the complete data of this Source implementation. No filters or
queries are applied.
An immutable Collection, may be empty, but never null |
content | Collection content(String query, String queryLanguage)(Code) | | Get the complete data of this Source implementation. No filters are
applied.
A immutable Collection, may be empty, but never null |
content | Collection content(Filter filter)(Code) | | A collection containing all the data indicated by the filter.
A immutable Collection, may be empty, but never null |
content | Collection content(Filter filter, int countLimit)(Code) | | A collection containing all the data indicated by the filter, with a maximum
of countLimit elements.
A immutable Collection, may be empty, but never null |
describe | Object describe()(Code) | | Description of content in an appropriate format.
- AttributeDescriptor: when serving up features
- Class: when providing access to a java domain model
- URL: of XSD document when working with XML document
- etc...
FeatureType, ResultSetMetaData, Class, whatever? |
dispose | void dispose()(Code) | | Clean up any resources, listeners, etc that made use of this Source of data.
Please note this Source will not function after this method is
called. Any
Transaction.State mementos placed on the current transaction
will also be cleaned up (although the transaction itself will not be canceled
- as it may be in use by others).
|
getFilterCapabilities | FilterCapabilities getFilterCapabilities()(Code) | | Description of the supported filter capabilities.
Supported filter capabilities |
getInfo | GeoResourceInfo getInfo()(Code) | | Information about the data available here.
Focus is on human readable description of the service,
with enough information for searching.
The following information is important for programatic things like rendering:
GridServiceInfo ? |
getName | Name getName()(Code) | | Names of the content this data source provides.
The type name |
setTransaction | void setTransaction(Transaction t)(Code) | | Provides a transaction for commit/rollback control of this Source .
Parameters: t - The transaction |
|
|