# OpenLayers.Format.Filter.v1_0_0

Write ogc:Filter version 1.0.0.

#### Inherits from

- OpenLayers.Format.GML.v2
- OpenLayers.Format.Filter.v1

Summary

OpenLayers.Format.Filter.v1_0_0 | Write ogc:Filter version 1.0.0.
Constants |
VERSION | {String} 1.0.0
Properties |
schemaLocation | {String} http://www.opengis.net/ogc/filter/1.0.0/filter.xsd
Constructor |
OpenLayers.Format.Filter.v1_0_0 | Instances of this class are not created directly.
Properties |
readers | Contains public functions, grouped by namespace prefix, that will be applied when a namespaced node is found matching the function name.
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.
Functions |
writeSpatial | Read a {OpenLayers.Filter.Spatial} filter and converts it into XML.

### Constants

### VERSION

{String} 1.0.0

### Properties

### schemaLocation

{String} http://www.opengis.net/ogc/filter/1.0.0/filter.xsd

### Constructor

### OpenLayers.Format.Filter.v1_0_0

Instances of this class are not created directly. Use the OpenLayers.Format.Filter constructor instead.

#### Parameters

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

### Properties

### readers

Contains public functions, grouped by namespace prefix, that will be applied when a namespaced node is found matching the function name. The function will be applied in the scope of this parser with two arguments: the node being read and a context object passed from the parent.

### 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.

### Functions

### writeSpatial

> writeSpatial: function( | filter,
> | name | )

Read a {OpenLayers.Filter.Spatial} filter and converts it into XML.

#### Parameters

filter | {OpenLayers.Filter.Spatial} The filter.
name | {String} Name of the generated XML element.

#### Returns

{DOMElement} The created XML element.

> writeSpatial: function( | filter,
> | name | )

Read a {OpenLayers.Filter.Spatial} filter and converts it into XML.
This class represents a spatial filter.
Parses GML version 2.
Superclass for Filter version 1 parsers.
Read/Write ogc:Filter.
Close