org.gwtopenmaps.openlayers.client.protocol
Class WFSProtocolOptions

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.protocol.ProtocolOptions
          extended by org.gwtopenmaps.openlayers.client.protocol.WFSProtocolOptions

public class WFSProtocolOptions
extends ProtocolOptions

WFSProtocolOptions

Author:
davekkomackecom

Constructor Summary
WFSProtocolOptions()
          This constructor doesn't allow proper use of method WFSProtocol.read().
WFSProtocolOptions(String url, String featureNS, String featureType)
           
 
Method Summary
 void setFeatureNameSpace(String featureNS)
           
 void setFeatureType(String featureType)
           
 void setFilter(Filter filter)
           
 void setGeometryName(String geometryName)
           
 void setSrsName(String srsName)
           
 void setUrl(String url)
           
 void setVersion(String version)
           
 
Methods inherited from class org.gwtopenmaps.openlayers.client.protocol.ProtocolOptions
setFormat
 
Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
getJSObject, setJSObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WFSProtocolOptions

public WFSProtocolOptions()
This constructor doesn't allow proper use of method WFSProtocol.read(). Use WFSProtocolOptions(String url, String featureNS, String featureType ) instead.


WFSProtocolOptions

public WFSProtocolOptions(String url,
                          String featureNS,
                          String featureType)
Method Detail

setGeometryName

public void setGeometryName(String geometryName)
Parameters:
geometryName - - set the geometry name. Default is "the_geom".
geometryName - - set the geometry name

setUrl

public void setUrl(String url)
Parameters:
url - - the url of the WFS

setFeatureNameSpace

public void setFeatureNameSpace(String featureNS)
Parameters:
featureNS - - the namespace of the feature schema

setFeatureType

public void setFeatureType(String featureType)
Parameters:
featureType - - the type of feature, for example: roads, lakes, cities

setSrsName

public void setSrsName(String srsName)
Parameters:
srsName- - name of the spatial reference system (e.g., EPSG:4326)

setVersion

public void setVersion(String version)
Parameters:
version - - WFS version, defaults to 1.0.0

setFilter

public void setFilter(Filter filter)


Copyright © 2011 sourceforge. All Rights Reserved.