Class WmsFeature

  • All Implemented Interfaces:
    GeoElement

    public final class WmsFeature
    extends java.lang.Object
    implements GeoElement
    Represents a feature in a Web Map Service (WMS) layer.
    Since:
    100.2.0
    See Also:
    WmsLayer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> getAttributes()
      Gets all attributes of the WMS feature.
      Geometry getGeometry()
      Gets the geometry of this geoelement.
      void setGeometry​(Geometry geometry)
      Sets the GeoElement's geometry.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getAttributes

        public java.util.Map<java.lang.String,​java.lang.Object> getAttributes()
        Gets all attributes of the WMS feature.
        Specified by:
        getAttributes in interface GeoElement
        Returns:
        all the attributes as name value pairs
        Since:
        100.2.0
      • getGeometry

        public Geometry getGeometry()
        Description copied from interface: GeoElement
        Gets the geometry of this geoelement.
        Specified by:
        getGeometry in interface GeoElement
        Returns:
        the geometry of this geoelement
      • setGeometry

        public void setGeometry​(Geometry geometry)
        Description copied from interface: GeoElement
        Sets the GeoElement's geometry.
        Specified by:
        setGeometry in interface GeoElement
        Parameters:
        geometry - the geometry to set