Package org.geotools.data.wfs
Class WFSDataStore
- Object
-
- ContentDataStore
-
- WFSDataStore
-
- All Implemented Interfaces:
DataAccess<SimpleFeatureType,SimpleFeature>
,DataStore
public class WFSDataStore extends ContentDataStore
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>
configuredStoredQueries
static String
STORED_QUERY_CONFIGURATION_HINT
-
Fields inherited from class ContentDataStore
dataStoreFactory, entries, featureFactory, filterFactory, geometryFactory, JOINED_FEATURE_TYPE, lockingManager, LOGGER, namespaceURI, typeFactory, WRITER_ADD, WRITER_COMMIT, WRITER_UPDATE
-
-
Constructor Summary
Constructors Constructor Description WFSDataStore(WFSClient client)
-
Method Summary
-
Methods inherited from class ContentDataStore
createSchema, dispose, ensureEntry, ensureFeatureStore, entry, getDataStoreFactory, getEntry, getFeatureFactory, getFeatureReader, getFeatureSource, getFeatureSource, getFeatureSource, getFeatureSource, getFeatureTypeFactory, getFeatureWriter, getFeatureWriter, getFeatureWriterAppend, getFilterFactory, getGeometryFactory, getLockingManager, getLogger, getNames, getNamespaceURI, getSchema, getSchema, getTypeNames, name, removeEntry, removeSchema, removeSchema, setDataStoreFactory, setFeatureFactory, setFeatureTypeFactory, setFilterFactory, setGeometryFactory, setNamespaceURI, updateSchema, updateSchema
-
-
-
-
Field Detail
-
STORED_QUERY_CONFIGURATION_HINT
public static final String STORED_QUERY_CONFIGURATION_HINT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WFSDataStore
public WFSDataStore(WFSClient client)
-
-
Method Detail
-
getInfo
public WFSServiceInfo getInfo()
Description copied from interface:DataAccess
Information about this service.This method offers access to a summary of header or metadata information describing the service. Subclasses may return a specific ServiceInfo instance that has additional information (such as FilterCapabilities).
- Specified by:
getInfo
in interfaceDataAccess<SimpleFeatureType,SimpleFeature>
- Overrides:
getInfo
in classContentDataStore
- Returns:
- SeviceInfo
- See Also:
getInfo()
-
createContentState
protected WFSContentState createContentState(ContentEntry entry)
Description copied from class:ContentDataStore
Instantiates a new content state for the entry.Subclasses may override this method to return a specific subclass of
ContentState
.- Overrides:
createContentState
in classContentDataStore
- Parameters:
entry
- The entry.- Returns:
- A new instance of
ContentState
for the entry.
-
createTypeNames
protected List<Name> createTypeNames() throws IOException
Description copied from class:ContentDataStore
Creates a set of qualified names corresponding to the types that the datastore provides.Namespaces may be left
null
for data stores which do not support namespace qualified type names.- Specified by:
createTypeNames
in classContentDataStore
- Returns:
- A list of
Name
. - Throws:
IOException
- Any errors occuring connecting to data.- See Also:
ContentDataStore.createTypeNames()
-
createFeatureSource
protected ContentFeatureSource createFeatureSource(ContentEntry entry) throws IOException
Description copied from class:ContentDataStore
Instantiates new feature source for the entry.Subclasses should override this method to return a specific subclass of
ContentFeatureSource
.- Specified by:
createFeatureSource
in classContentDataStore
- Parameters:
entry
- The entry.- Returns:
- An new instance of
ContentFeatureSource
for the entry. - Throws:
IOException
- See Also:
WFSFeatureSource
,WFSFeatureStore
,WFSClient.supportsTransaction(QName)
,ContentDataStore.createFeatureSource(org.geotools.data.store.ContentEntry)
-
getRemoteTypeName
public QName getRemoteTypeName(Name localTypeName) throws IOException
- Throws:
IOException
-
getStoredQueryListResponse
public ListStoredQueriesResponseType getStoredQueryListResponse() throws IOException
- Throws:
IOException
-
supportsStoredQueries
public boolean supportsStoredQueries()
-
getRemoteFeatureType
public FeatureType getRemoteFeatureType(QName remoteTypeName) throws IOException
- Throws:
IOException
-
getStoredQueryDescriptionType
public StoredQueryDescriptionType getStoredQueryDescriptionType(String storedQueryId) throws IOException
- Throws:
IOException
-
getRemoteSimpleFeatureType
public SimpleFeatureType getRemoteSimpleFeatureType(QName remoteTypeName) throws IOException
- Throws:
IOException
-
getWfsClient
public WFSClient getWfsClient()
-
addStoredQuery
public Name addStoredQuery(String localName, String storedQueryId) throws IOException
- Throws:
IOException
-
getStoredQueryReturnType
public QName getStoredQueryReturnType(String storedQueryId) throws IOException
- Throws:
IOException
-
getStoredQuerySchema
public SimpleFeatureType getStoredQuerySchema(String storedQueryId) throws IOException
- Throws:
IOException
-
removeStoredQuery
public void removeStoredQuery(String localName)
-
getCapabilitiesURL
public URL getCapabilitiesURL()
-
-