remove 'empty' initialize method (method that only call the parent class). r=bartvde (closes #3147)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11640 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -59,18 +59,6 @@ OpenLayers.Format.Atom = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
*/
|
*/
|
||||||
xy: false,
|
xy: false,
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Format.AtomEntry
|
|
||||||
* Create a new parser for Atom.
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object} An optional object whose properties will be set on
|
|
||||||
* this instance.
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XML.prototype.initialize.apply(this, [options]);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: read
|
* APIMethod: read
|
||||||
* Return a list of features from an Atom feed or entry document.
|
* Return a list of features from an Atom feed or entry document.
|
||||||
|
|||||||
@@ -39,18 +39,6 @@ OpenLayers.Format.Filter = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
*/
|
*/
|
||||||
parser: null,
|
parser: null,
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Format.Filter
|
|
||||||
* Create a new parser for Filter.
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object} An optional object whose properties will be set on
|
|
||||||
* this instance.
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XML.prototype.initialize.apply(this, [options]);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: write
|
* APIMethod: write
|
||||||
* Write an ogc:Filter given a filter object.
|
* Write an ogc:Filter given a filter object.
|
||||||
|
|||||||
@@ -32,18 +32,6 @@ OpenLayers.Format.GeoJSON = OpenLayers.Class(OpenLayers.Format.JSON, {
|
|||||||
*/
|
*/
|
||||||
ignoreExtraDims: false,
|
ignoreExtraDims: false,
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Format.GeoJSON
|
|
||||||
* Create a new parser for GeoJSON.
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object} An optional object whose properties will be set on
|
|
||||||
* this instance.
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.JSON.prototype.initialize.apply(this, [options]);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: read
|
* APIMethod: read
|
||||||
* Deserialize a GeoJSON string.
|
* Deserialize a GeoJSON string.
|
||||||
|
|||||||
@@ -75,18 +75,6 @@ OpenLayers.Format.GeoRSS = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
*/
|
*/
|
||||||
xy: false,
|
xy: false,
|
||||||
|
|
||||||
/**
|
|
||||||
* 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.XML.prototype.initialize.apply(this, [options]);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: createGeometryFromItem
|
* Method: createGeometryFromItem
|
||||||
* Return a geometry from a GeoRSS Item.
|
* Return a geometry from a GeoRSS Item.
|
||||||
|
|||||||
@@ -67,18 +67,6 @@ OpenLayers.Format.JSON = OpenLayers.Class(OpenLayers.Format, {
|
|||||||
return !!(window.JSON && typeof JSON.parse == "function" && typeof JSON.stringify == "function");
|
return !!(window.JSON && typeof JSON.parse == "function" && typeof JSON.stringify == "function");
|
||||||
})(),
|
})(),
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Format.JSON
|
|
||||||
* Create a new parser for JSON.
|
|
||||||
*
|
|
||||||
* 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: read
|
* APIMethod: read
|
||||||
* Deserialize a json string.
|
* Deserialize a json string.
|
||||||
|
|||||||
@@ -50,18 +50,6 @@ OpenLayers.Format.SLD = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
*/
|
*/
|
||||||
parser: null,
|
parser: null,
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Format.SLD
|
|
||||||
* Create a new parser for SLD.
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object} An optional object whose properties will be set on
|
|
||||||
* this instance.
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XML.prototype.initialize.apply(this, [options]);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: write
|
* APIMethod: write
|
||||||
* Write a SLD document given a list of styles.
|
* Write a SLD document given a list of styles.
|
||||||
|
|||||||
@@ -34,19 +34,6 @@ OpenLayers.Format.SOSCapabilities = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
*/
|
*/
|
||||||
parser: null,
|
parser: null,
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Format.SOSCapabilities
|
|
||||||
* Create a new parser for SOS capabilities.
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object} An optional object whose properties will be set on
|
|
||||||
* this instance.
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XML.prototype.initialize.apply(this, [options]);
|
|
||||||
this.options = options;
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: read
|
* APIMethod: read
|
||||||
* Read capabilities data from a string, and return information about
|
* Read capabilities data from a string, and return information about
|
||||||
|
|||||||
@@ -59,17 +59,6 @@ OpenLayers.Format.SOSGetFeatureOfInterest = OpenLayers.Class(
|
|||||||
trimComma: (/\s*,\s*/g)
|
trimComma: (/\s*,\s*/g)
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Format.SOSGetFeatureOfInterest
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object} An optional object whose properties will be set on
|
|
||||||
* this instance.
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XML.prototype.initialize.apply(this, [options]);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: read
|
* APIMethod: read
|
||||||
* Parse a GetFeatureOfInterest response and return an array of features
|
* Parse a GetFeatureOfInterest response and return an array of features
|
||||||
|
|||||||
@@ -61,17 +61,6 @@ OpenLayers.Format.SOSGetObservation = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
*/
|
*/
|
||||||
defaultPrefix: "sos",
|
defaultPrefix: "sos",
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Format.SOSGetObservation
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object} An optional object whose properties will be set on
|
|
||||||
* this instance.
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XML.prototype.initialize.apply(this, [options]);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: read
|
* Method: read
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -28,19 +28,6 @@ OpenLayers.Format.WFSCapabilities = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
*/
|
*/
|
||||||
version: null,
|
version: null,
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Format.WFSCapabilities
|
|
||||||
* Create a new parser for WFS capabilities.
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object} An optional object whose properties will be set on
|
|
||||||
* this instance.
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XML.prototype.initialize.apply(this, [options]);
|
|
||||||
this.options = options;
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: read
|
* APIMethod: read
|
||||||
* Read capabilities data from a string, and return a list of layers.
|
* Read capabilities data from a string, and return a list of layers.
|
||||||
|
|||||||
@@ -23,18 +23,6 @@ OpenLayers.Format.WFSDescribeFeatureType = OpenLayers.Class(
|
|||||||
xsd: "http://www.w3.org/2001/XMLSchema"
|
xsd: "http://www.w3.org/2001/XMLSchema"
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Format.WFSDescribeFeatureType
|
|
||||||
* Create a new parser for WFS DescribeFeatureType responses.
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object} An optional object whose properties will be set on
|
|
||||||
* this instance.
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XML.prototype.initialize.apply(this, [options]);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Property: readers
|
* Property: readers
|
||||||
* Contains public functions, grouped by namespace prefix, that will
|
* Contains public functions, grouped by namespace prefix, that will
|
||||||
|
|||||||
@@ -43,19 +43,6 @@ OpenLayers.Format.WMSCapabilities = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
*/
|
*/
|
||||||
parser: null,
|
parser: null,
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Format.WMSCapabilities
|
|
||||||
* Create a new parser for WMS capabilities.
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object} An optional object whose properties will be set on
|
|
||||||
* this instance.
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XML.prototype.initialize.apply(this, [options]);
|
|
||||||
this.options = options;
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: read
|
* APIMethod: read
|
||||||
* Read capabilities data from a string, and return a list of layers.
|
* Read capabilities data from a string, and return a list of layers.
|
||||||
|
|||||||
@@ -29,19 +29,6 @@ OpenLayers.Format.WMSDescribeLayer = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
*/
|
*/
|
||||||
version: null,
|
version: null,
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Format.WMSDescribeLayer
|
|
||||||
* Create a new parser for WMS DescribeLayer responses.
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object} An optional object whose properties will be set on
|
|
||||||
* this instance.
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XML.prototype.initialize.apply(this, [options]);
|
|
||||||
this.options = options;
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: read
|
* APIMethod: read
|
||||||
* Read DescribeLayer data from a string, and return the response.
|
* Read DescribeLayer data from a string, and return the response.
|
||||||
|
|||||||
@@ -48,20 +48,6 @@ OpenLayers.Format.WMSGetFeatureInfo = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
*/
|
*/
|
||||||
gmlFormat: null,
|
gmlFormat: null,
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Format.WMSGetFeatureInfo
|
|
||||||
* Create a new parser for WMS GetFeatureInfo responses
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object} An optional object whose properties will be set on
|
|
||||||
* this instance.
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XML.prototype.initialize.apply(this, arguments);
|
|
||||||
OpenLayers.Util.extend(this, options);
|
|
||||||
this.options = options;
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: read
|
* APIMethod: read
|
||||||
* Read WMS GetFeatureInfo data from a string, and return an array of features
|
* Read WMS GetFeatureInfo data from a string, and return an array of features
|
||||||
|
|||||||
@@ -47,19 +47,6 @@ OpenLayers.Format.WMTSCapabilities = OpenLayers.Class(OpenLayers.Format.XML, {
|
|||||||
"urn:ogc:def:crs:EPSG::4326": true
|
"urn:ogc:def:crs:EPSG::4326": true
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
|
||||||
* Constructor: OpenLayers.Format.WMTSCapabilities
|
|
||||||
* Create a new parser for WMTS capabilities.
|
|
||||||
*
|
|
||||||
* Parameters:
|
|
||||||
* options - {Object} An optional object whose properties will be set on
|
|
||||||
* this instance.
|
|
||||||
*/
|
|
||||||
initialize: function(options) {
|
|
||||||
OpenLayers.Format.XML.prototype.initialize.apply(this, [options]);
|
|
||||||
this.options = options;
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: read
|
* APIMethod: read
|
||||||
* Read capabilities data from a string, and return information about
|
* Read capabilities data from a string, and return information about
|
||||||
|
|||||||
Reference in New Issue
Block a user