org.geotools.data.wfs.v1_1_0
Class GeoServerStrategy

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

public class GeoServerStrategy
extends DefaultWFSStrategy


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
GeoServerStrategy()
           
 
Method Summary
 java.lang.String getDefaultOutputFormat(WFSProtocol wfs, WFSOperationType op)
          GeoServer versions prior to 2.0 state text/gml; subtype=gml/3.1.1 instead of text/xml; subtype=gml/3.1.1
protected  Configuration getFilterConfiguration()
          GeoServer versions lower than 2.0 can only parse Filter 1.0
 
Methods inherited from class org.geotools.data.wfs.v1_1_0.DefaultWFSStrategy
buildGetFeatureParametersForGet, createGetFeatureRequest, encodeGetFeatureGetFilter, getWfsConfiguration, splitFilters, supportsGet, supportsPost
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoServerStrategy

public GeoServerStrategy()
Method Detail

getDefaultOutputFormat

public java.lang.String getDefaultOutputFormat(WFSProtocol wfs,
                                               WFSOperationType op)
GeoServer versions prior to 2.0 state text/gml; subtype=gml/3.1.1 instead of text/xml; subtype=gml/3.1.1

Specified by:
getDefaultOutputFormat in interface WFSStrategy
Overrides:
getDefaultOutputFormat in class DefaultWFSStrategy
Returns:
"text/xml; subtype=gml/3.1.1"
See Also:
WFSProtocol#getDefaultOutputFormat()

getFilterConfiguration

protected Configuration getFilterConfiguration()
GeoServer versions lower than 2.0 can only parse Filter 1.0

Overrides:
getFilterConfiguration in class DefaultWFSStrategy


Copyright © 1996-2010 Geotools. All Rights Reserved.