Class PointArrayTag

All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

public class PointArrayTag extends MapEntryTag
A JSP Tag to generate a GeoJSON LineString object.
Since:
12.0
Version:
12.0
Author:
Luke
See Also:
  • Constructor Details

    • PointArrayTag

      public PointArrayTag()
  • Method Details

    • setItems

      public void setItems(Collection<GeoLocation> points)
      Sets the points used to generate the array.
      Parameters:
      points - a Collection of GeoLocations
    • release

      public void release()
      Specified by:
      release in interface Tag
      Overrides:
      release in class JSTag
    • doStartTag

      public int doStartTag()
      Description copied from class: MapEntryTag
      Executed before the Tag is rendered. This will check for the presence of required JavaScript files in the request. Tags that do not require this check can override this method.
      Specified by:
      doStartTag in interface Tag
      Overrides:
      doStartTag in class MapEntryTag
      Returns:
      TagSupport.SKIP_BODY always
    • doEndTag

      public int doEndTag() throws JspException
      Specified by:
      doEndTag in interface Tag
      Overrides:
      doEndTag in class TagSupport
      Throws:
      JspException