Class TLcdWCSCapabilitiesDecoder

java.lang.Object
com.luciad.ogc.wcs.client.TLcdWCSCapabilitiesDecoder

public class TLcdWCSCapabilitiesDecoder extends Object
The TLcdWCSCapabilitiesDecoder class allows to decode WCS capabilities from a WCS server, with support for version 1.0. The decoded capabilities can be used with TLcdWCSProxyModelFactory to create a WCS proxy model.

An alternative and preferred approach is to create a TLcdWCSClient instance, which gives access to the capabilities and also can be used to create a WCS proxy model.

See Also:
  • Constructor Details

    • TLcdWCSCapabilitiesDecoder

      public TLcdWCSCapabilitiesDecoder()
  • Method Details

    • decodeCapabilities

      public TLcdWCSCapabilities decodeCapabilities(String aLocation) throws IOException
      Retrieves and decodes the WCS capabilities from the server specified by the given location. The currently supported version is 1.0.
      Parameters:
      aLocation - the location (URL or filename) of the capabilities document
      Returns:
      the WCS capabilities.
      Throws:
      IOException - if the capabilities document can not be read
    • setRequestProperty

      public void setRequestProperty(String aKey, String aValue)
      Sets the general request property. If a property with the key already exists, overwrite its value with the new value.
      Parameters:
      aKey - the keyword by which the request is known (e.g., "accept").
      aValue - the value associated with it.
      See Also: