Superclass for WFST parsers.
OpenLayers. | Superclass for WFST parsers. |
Properties | |
namespaces | {Object} Mapping of namespace aliases to namespace URIs. |
defaultPrefix | |
version | {String} WFS version number. |
schemaLocation | {String} Schema location for a particular minor version. |
srsName | {String} URI for spatial reference system. |
extractAttributes | {Boolean} Extract attributes from GML. |
xy | {Boolean} Order of the GML coordinate true:(x,y) or false:(y,x) Changing is not recommended, a new Format should be instantiated. |
stateName | {Object} Maps feature states to node names. |
Constructor | |
OpenLayers. | Instances of this class are not created directly. |
Functions and Properties | |
getSrsName | |
read | Parse the response from a transaction. |
readers | Contains public functions, grouped by namespace prefix, that will be applied when a namespaced node is found matching the function name. |
write | Given an array of features, write a WFS transaction. |
writers | As a compliment to the readers property, this structure contains public writing functions grouped by namespace alias and named like the node names they produce. |
schemaLocationAttr | Generate the xsi:schemaLocation attribute value. |
setFilterProperty | Set the property of each spatial filter. |
Instances of this class are not created directly. Use the OpenLayers.Format.WFST.v1_0_0 or OpenLayers.Format.WFST.v1_1_0 constructor instead.
options | {Object} An optional object whose properties will be set on this instance. |
write: function( features )
Given an array of features, write a WFS transaction. This assumes the features have a state property that determines the operation type - insert, update, or delete.
features | {Array(OpenLayers.Feature.Vector)} A list of features. |
{String} A serialized WFS transaction.
setFilterProperty: function( filter )
Set the property of each spatial filter.
filter | {OpenLayers.Filter} |
getSrsName: function( feature, options )
Parse the response from a transaction.
read: function( data )
Given an array of features, write a WFS transaction.
write: function( features )
Generate the xsi:schemaLocation attribute value.
schemaLocationAttr: function( options )
Set the property of each spatial filter.
setFilterProperty: function( filter )