WPSCapabilities.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. * @requires OpenLayers/Format/XML/VersionedOGC.js
  7. */
  8. /**
  9. * Class: OpenLayers.Format.WPSCapabilities
  10. * Read WPS Capabilities.
  11. *
  12. * Inherits from:
  13. * - <OpenLayers.Format.XML.VersionedOGC>
  14. */
  15. OpenLayers.Format.WPSCapabilities = OpenLayers.Class(OpenLayers.Format.XML.VersionedOGC, {
  16. /**
  17. * APIProperty: defaultVersion
  18. * {String} Version number to assume if none found. Default is "1.0.0".
  19. */
  20. defaultVersion: "1.0.0",
  21. /**
  22. * Constructor: OpenLayers.Format.WPSCapabilities
  23. * Create a new parser for WPS Capabilities.
  24. *
  25. * Parameters:
  26. * options - {Object} An optional object whose properties will be set on
  27. * this instance.
  28. */
  29. /**
  30. * APIMethod: read
  31. * Read capabilities data from a string, and return information about
  32. * the service.
  33. *
  34. * Parameters:
  35. * data - {String} or {DOMElement} data to read/parse.
  36. *
  37. * Returns:
  38. * {Object} Info about the WPS
  39. */
  40. CLASS_NAME: "OpenLayers.Format.WPSCapabilities"
  41. });