Committing patch from #559 to add CLASS_NAME for all classes. (I never cleaned

these up like I should have.)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@2876 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-03-24 23:07:30 +00:00
parent cb9723d202
commit b22958ff2e
5 changed files with 21 additions and 4 deletions

View File

@@ -29,5 +29,9 @@ OpenLayers.Format.prototype = {
*/
write: function(features) {
alert("Write not implemented.");
}
},
/** @final @type String */
CLASS_NAME: "OpenLayers.Format"
};

View File

@@ -429,5 +429,9 @@ OpenLayers.Format.GML.prototype =
coordinatesNode.appendChild(txtNode);
return coordinatesNode;
}
},
/** @final @type String */
CLASS_NAME: "OpenLayers.Format.GML"
});

View File

@@ -103,5 +103,9 @@ OpenLayers.Format.GeoRSS.prototype =
path += geometry.lat + " " + geometry.lon + " ";
}
return document.createTextNode(path);
}
},
/** @final @type String */
CLASS_NAME: "OpenLayers.Format.GeoRSS"
});

View File

@@ -164,6 +164,7 @@ OpenLayers.Format.KML.prototype =
return p;
},
/** @final @type String */
CLASS_NAME: "OpenLayers.Format.KML"
});

View File

@@ -152,5 +152,9 @@ OpenLayers.Format.WFS.prototype =
destroy: function() {
this.layer = null;
}
},
/** @final @type String */
CLASS_NAME: "OpenLayers.Format.WFS"
});