Project

General

Profile

Download (1.25 KB) Statistics
| Branch: | Tag: | Revision:
1
/* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for
2
 * full list of contributors). Published under the 2-clause BSD license.
3
 * See license.txt in the OpenLayers distribution or repository for the
4
 * full text of the license. */
5

    
6
/**
7
 * @requires OpenLayers/Format/XML/VersionedOGC.js
8
 */
9

    
10
/**
11
 * Class: OpenLayers.Format.WFSCapabilities
12
 * Read WFS Capabilities.
13
 * 
14
 * Inherits from:
15
 *  - <OpenLayers.Format.XML.VersionedOGC>
16
 */
17
OpenLayers.Format.WFSCapabilities = OpenLayers.Class(OpenLayers.Format.XML.VersionedOGC, {
18
    
19
    /**
20
     * APIProperty: defaultVersion
21
     * {String} Version number to assume if none found.  Default is "1.1.0".
22
     */
23
    defaultVersion: "1.1.0",
24

    
25
    /**
26
     * Constructor: OpenLayers.Format.WFSCapabilities
27
     * Create a new parser for WFS capabilities.
28
     *
29
     * Parameters:
30
     * options - {Object} An optional object whose properties will be set on
31
     *     this instance.
32
     */
33

    
34
    /**
35
     * APIMethod: read
36
     * Read capabilities data from a string, and return a list of layers. 
37
     * 
38
     * Parameters: 
39
     * data - {String} or {DOMElement} data to read/parse.
40
     *
41
     * Returns:
42
     * {Array} List of named layers.
43
     */
44
    
45
    CLASS_NAME: "OpenLayers.Format.WFSCapabilities" 
46

    
47
});
(28-28/41)