Abstract class not to be instantiated directly. Creates the common parts for both WMS 1.1.X and WMS 1.3.X.
| OpenLayers. | Abstract class not to be instantiated directly. |
| Properties | |
| namespaces | {Object} Mapping of namespace aliases to namespace URIs. |
| defaultPrefix | |
| Constructor | |
| OpenLayers. | Create an instance of one of the subclasses. |
| Functions | |
| read | Read capabilities data from a string, and return a list of layers. |
| postProcessLayers | Post process the layers, so that the nested layer structure is converted to a flat layer list with only named layers. |
| processLayer | Recursive submethod of postProcessLayers. |
| Properties | |
| readers | Contains public functions, grouped by namespace prefix, that will be applied when a namespaced node is found matching the function name. |
postProcessLayers: function( capabilities )
Post process the layers, so that the nested layer structure is converted to a flat layer list with only named layers.
| capabilities | {Object} The object (structure) returned by the parser with all the info from the GetCapabilities response. |
processLayer: function( capability, layer, parentLayer )
Recursive submethod of postProcessLayers. This function will among others deal with property inheritance.
| capability | {Object} The capability part of the capabilities object |
| layer | {Object} The layer that needs processing |
| parentLayer | {Object} The parent layer of the respective layer |
Read capabilities data from a string, and return a list of layers.
read: function( data )
Post process the layers, so that the nested layer structure is converted to a flat layer list with only named layers.
postProcessLayers: function( capabilities )
Recursive submethod of postProcessLayers.
processLayer: function( capability, layer, parentLayer )