Class TLcdOGCWMSURL

java.lang.Object
com.luciad.wms.client.model.TLcdOGCWMSURL

public final class TLcdOGCWMSURL extends Object
General representation of an URL used in the WMS capabilities. Except for the online resource, the applicable fields (name, type, format, width, height) of this class depend on the actual WMS feature that is represented.

In the current implementation, it is used to model the following WMS features:

  • MetadataURL (see ALcdWMSLayer). The applicable fields are: online resource, format and type.
  • DataURL (see ALcdWMSLayer). The applicable fields are: online resource and format.
  • FeatureListURL (see ALcdWMSLayer). The applicable fields are: online resource and format.
  • LegendURL (see ALcdWMSLayerStyle). The applicable fields are: online resource, format, width and height.
  • StyleSheetURL (see ALcdWMSLayerStyle). The applicable fields are: online resource and format.
  • StyleURL (see ALcdWMSLayerStyle). The applicable fields are: online resource and format.
  • Constructor Details

    • TLcdOGCWMSURL

      public TLcdOGCWMSURL()
  • Method Details

    • getOnlineResource

      public TLcdOWSOnlineResource getOnlineResource()
      Returns the online resource (required to be not null).
      Returns:
      the online resource (required to be not null).
    • getName

      public String getName()
      Returns the name.
      Returns:
      the name or null if not defined or applicable.
    • getType

      public String getType()
      Returns the type, standard or specification used by the data source that is referenced by the online resource retrieved through getOnlineResource().
      Returns:
      the type or null if not defined or applicable.
    • getFormat

      public String getFormat()
      Returns the format of the data source that is referenced by the online resource returned by getOnlineResource().
      Returns:
      the format or null if not defined or applicable.
    • getWidth

      public int getWidth()
      Returns the width of the graphic that is referenced by the online resource returned by getOnlineResource().
      Returns:
      the width or -1 if not defined or applicable.
    • getHeight

      public int getHeight()
      Returns the height of the graphic that is referenced by the online resource returned by getOnlineResource()..
      Returns:
      the height or -1 if not defined or applicable.