Class PolygonImpl

java.lang.Object
com.priint.pubserver.metadata.xml.base.ShapeImpl
com.priint.pubserver.metadata.xml.base.PolygonImpl
All Implemented Interfaces:
Polygon, Shape, Serializable

public class PolygonImpl extends ShapeImpl implements Polygon
See Also:
  • Constructor Details

    • PolygonImpl

      public PolygonImpl()
  • Method Details

    • getPoints

      public String getPoints()
      Description copied from interface: Polygon

      Gets the points of this polygon.

      Gets the points of this polygons as a whitespace separated list of value pairs (x,y).

      Specified by:
      getPoints in interface Polygon
      Returns:
      whitespace separated list of value pairs (x,y)
    • setPoints

      public void setPoints(String points)
      Description copied from interface: Polygon

      Sets the points of this polygon.

      Sets the points of this polygon as a list of whitespace separated value pairs (x,y).

      Specified by:
      setPoints in interface Polygon
      Parameters:
      points - whitespace separated value pairs (x,y)
    • getCoordinates

      public List<Point> getCoordinates()
      Description copied from interface: Polygon

      Gets the points of this polygon as list.

      Gets the points of this polygon as a list of Points.
      Note, that in the default implementation (and therefore XML schema), this property is XmlTransient, i.e.: not included in the XML document.
      Changes of values in the list are not reflected in the XML document after marshaling; to change values, use the Polygon.setPoints(String) methods instead.

      Specified by:
      getCoordinates in interface Polygon
      Returns:
      points as java.util.List