org.geotools.data.wfs.v1_1_0
Class CubeWerxStrategy

java.lang.Object
  extended by org.geotools.data.wfs.v1_1_0.DefaultWFSStrategy
      extended by org.geotools.data.wfs.v1_1_0.CubeWerxStrategy
All Implemented Interfaces:
WFSStrategy

public class CubeWerxStrategy
extends DefaultWFSStrategy

An strategy object to deal in querying a CubeWerx WFS 1.1 server

This strategy was created as per the limitations encountered at the CubeWerx server being tested while developing this plugin.

For instance, the following issues were found:

Since:
2.6
Version:
$Id: CubeWerxStrategy.java 35134 2010-03-29 14:25:33Z groldan $
Author:
Gabriel Roldan (OpenGeo)

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.geotools.data.wfs.v1_1_0.WFSStrategy
WFSStrategy.RequestComponents
 
Field Summary
 
Fields inherited from class org.geotools.data.wfs.v1_1_0.DefaultWFSStrategy
DEFAULT_OUTPUT_FORMAT
 
Constructor Summary
CubeWerxStrategy()
           
 
Method Summary
 WFSStrategy.RequestComponents createGetFeatureRequest(WFSProtocol wfs, GetFeature query)
          Addresses the following issues with the CubeWerx WFS server:
 org.opengis.filter.Filter[] splitFilters(Capabilities caps, org.opengis.filter.Filter queryFilter)
          Splits the filter provided by the geotools query into the server supported and unsupported ones.
 
Methods inherited from class org.geotools.data.wfs.v1_1_0.DefaultWFSStrategy
buildGetFeatureParametersForGet, encodeGetFeatureGetFilter, getDefaultOutputFormat, getFilterConfiguration, getWfsConfiguration, supportsGet, supportsPost
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CubeWerxStrategy

public CubeWerxStrategy()
Method Detail

createGetFeatureRequest

public WFSStrategy.RequestComponents createGetFeatureRequest(WFSProtocol wfs,
                                                             GetFeature query)
                                                      throws java.io.IOException
Addresses the following issues with the CubeWerx WFS server:

Specified by:
createGetFeatureRequest in interface WFSStrategy
Overrides:
createGetFeatureRequest in class DefaultWFSStrategy
Parameters:
wfs - the WFS protocol handler from which the strategy may need to grab some feature type metadata not available through the datastore interface, or even perform some test request.
query - the GetFeature query to create the server request and post-processing filter for
Returns:
a handle to the request and post-processing filter appropriate to attend the given query
Throws:
java.io.IOException
See Also:
WFSStrategy#createGetFeatureRequest(WFS_1_1_0_DataStore, WFSProtocol, Query, String)

splitFilters

public org.opengis.filter.Filter[] splitFilters(Capabilities caps,
                                                org.opengis.filter.Filter queryFilter)
Description copied from class: DefaultWFSStrategy
Splits the filter provided by the geotools query into the server supported and unsupported ones.

Specified by:
splitFilters in interface WFSStrategy
Overrides:
splitFilters in class DefaultWFSStrategy
Parameters:
caps - the server filter capabilities description
Returns:
a two-element array where the first element is the supported filter and the second the one to post-process
See Also:
WFSStrategy#splitFilters(WFS_1_1_0_Protocol, Filter)


Copyright © 1996-2010 Geotools. All Rights Reserved.