#802 - giving all classes a constructor that don't currently have one - this for Natural Docs

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3595 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-07-05 18:54:38 +00:00
parent 691802b115
commit 658df9df72
4 changed files with 63 additions and 3 deletions

View File

@@ -6,7 +6,8 @@
* @requires OpenLayers/Format.js
*
* Class: OpenLayers.Format.GeoRSS
* Write-only GeoRSS.
* Write-only GeoRSS. Create a new instance with the
* <OpenLayers.Format.GeoRSS> constructor.
*
* Inherits from:
* - <OpenLayers.Format>
@@ -33,6 +34,19 @@ OpenLayers.Format.GeoRSS.prototype =
*/
georssns: "http://www.georss.org/georss",
/**
* Constructor: OpenLayers.Format.GeoRSS
* Create a new parser for GeoRSS
*
* Parameters:
* options - {Object} An optional object whose properties will be set on
* this instance.
*/
initialize: function(options) {
OpenLayers.Format.prototype.initialize.apply(this, [options]);
},
/**
* APIMethod: write
* Accept Feature Collection, and return a string.