Class WmsLayer

java.lang.Object
com.luciad.formats.wms.WmsLayer
All Implemented Interfaces:
AutoCloseable

public final class WmsLayer extends Object implements AutoCloseable
Contains information about a layer as described in a WMS GetCapabilities response.
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getName

      @Nullable public String getName()
      Returns the layer's name.
      Returns:
      the layer's name.
    • getTitle

      @NotNull public String getTitle()
      Returns the layer's title.
      Returns:
      the layer's title.
    • getAbstract

      @Nullable public String getAbstract()
      Returns the layer's abstract.
      Returns:
      the layer's abstract.
    • getKeywords

      @NotNull public List<@NotNull String> getKeywords()
      Returns the layer's keywords.

      Returns an empty vector when the layer doesn't have a keyword.

      Returns:
      the layer's keywords. Returns an empty vector when the layer doesn't have a keyword.
    • getStyles

      @NotNull public List<@NotNull WmsLayerStyle> getStyles(boolean withInheritedStyles)
      Returns the layer's styles and the inherited ones if specified.
      Parameters:
      withInheritedStyles - specify if the returned style list should contain styles inherited from parent layers. default value is false.
      Returns:
      the layer's styles and the inherited ones if specified.
    • getStyles

      @NotNull public List<@NotNull WmsLayerStyle> getStyles()
      Returns the layer's styles and the inherited ones if specified.
      Returns:
      the layer's styles and the inherited ones if specified.
    • getChildLayers

      @NotNull public List<@NotNull WmsLayer> getChildLayers()
      Returns the layer's children.

      Returns an empty vector if the layer has no child.

      Returns:
      the layer's children.
    • isOpaque

      public boolean isOpaque()
      Returns whether the layer is opaque.
      Returns:
      whether the layer is opaque.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object other)
      Overrides:
      equals in class Object