OpenLayers.Format.Filter

Read/Wite ogc:Filter.  Create a new instance with the OpenLayers.Format.Filter constructor.

Inherits from

Summary
OpenLayers.Format.FilterRead/Wite ogc:Filter.
Properties
defaultVersion{String} Version number to assume if none found.
version{String} Specify a version string if one is known.
Constructor
OpenLayers.Format.FilterCreate a new parser for Filter.
Functions
writeWrite an ogc:Filter given a filter object.
readRead and Filter doc and return an object representing the Filter.

Properties

defaultVersion

{String} Version number to assume if none found.  Default is “1.0.0”.

version

{String} Specify a version string if one is known.

Constructor

OpenLayers.Format.Filter

Create a new parser for Filter.

Parameters

options{Object} An optional object whose properties will be set on this instance.

Functions

write

write: function(filter,
options)

Write an ogc:Filter given a filter object.

Parameters

filter{OpenLayers.Filter} An filter.
options{Object} Optional configuration object.

Returns

{Elment} An ogc:Filter element node.

read

read: function(data)

Read and Filter doc and return an object representing the Filter.

Parameters

data{String | DOMElement} Data to read.

Returns

{OpenLayers.Filter} A filter object.

write: function(filter,
options)
Write an ogc:Filter given a filter object.
read: function(data)
Read and Filter doc and return an object representing the Filter.
Create a new parser for Filter.
Read and write XML.
This class represents an OGC Filter.
Close