code: function(node, obj, type) {
          var filter = new OpenLayers.Filter.Spatial({
              type: type
          });
          this.readChildNodes(node, filter);
          filter.value = filter.components[0];
          delete filter.components;
          obj.filters.push(filter);
      }
docs: Method: readSpatial
  
  Read a {<OpenLayers.Filter.Spatial>} filter.
  
  Parameters:
  node - {DOMElement} A DOM element that contains an ogc:expression.
  obj - {Object} The target object.
  type - {String} One of the OpenLayers.Filter.Spatial.* constants.
  
  Returns:
  {<OpenLayers.Filter.Spatial>} The created filter.