Class FlagTag

All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

public class FlagTag extends ImageTag
A JSP tag to display a national flag image.
Since:
2.5
Version:
7.2
Author:
Luke
See Also:
  • Constructor Details

    • FlagTag

      public FlagTag()
      Creates a new Flag Image element tag.
  • Method Details

    • release

      public void release()
      Resets the tag's state variables.
      Specified by:
      release in interface Tag
      Overrides:
      release in class ImageTag
    • setCountryCode

      public void setCountryCode(String code)
      Set the country code for the flag to display.
      Parameters:
      code - the ISO 3166-1 country code