public final class WmsLayer extends Object implements AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
String |
getAbstract()
Returns the layer's abstract.
|
List<WmsLayer> |
getChildLayers()
Returns the layer's children.
|
List<String> |
getKeywords()
Returns the layer's keywords.
|
String |
getName()
Returns the layer's name.
|
List<WmsLayerStyle> |
getStyles()
Returns the layer's styles and the inherited ones if specified.
|
List<WmsLayerStyle> |
getStyles(boolean withInheritedStyles)
Returns the layer's styles and the inherited ones if specified.
|
String |
getTitle()
Returns the layer's title.
|
boolean |
isOpaque()
Returns whether the layer is opaque.
|
public void close()
close
in interface AutoCloseable
@Nullable public String getName()
@NotNull public String getTitle()
@Nullable public String getAbstract()
@NotNull public List<String> getKeywords()
Returns an empty vector when the layer doesn't have a keyword.
@NotNull public List<WmsLayerStyle> getStyles(boolean withInheritedStyles)
withInheritedStyles
- specify if the returned style list should contain styles inherited from parent layers. default value is false.@NotNull public List<WmsLayerStyle> getStyles()
@NotNull public List<WmsLayer> getChildLayers()
Returns an empty vector if the layer has no child.
public boolean isOpaque()