Class SimulatorVersionTag

java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.deltava.taglib.content.SimulatorVersionTag
All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

public class SimulatorVersionTag extends TagSupport
A JSP tag to display Simulator service pack information.
Since:
7.0
Version:
10.3
Author:
Luke
See Also:
  • Constructor Details

    • SimulatorVersionTag

      public SimulatorVersionTag()
  • Method Details

    • setSim

      public void setSim(Simulator sim)
      Sets the Simulator used.
      Parameters:
      sim - the Simulator
    • setMajor

      public void setMajor(int major)
      Sets the simulator major version number.
      Parameters:
      major - the major version
    • setMinor

      public void setMinor(int minor)
      Sets the simulator minor version number.
      Parameters:
      minor - the minor version
    • doEndTag

      public int doEndTag() throws JspException
      Prints a human-readable simulator version to the JSP output stream.
      Specified by:
      doEndTag in interface Tag
      Overrides:
      doEndTag in class TagSupport
      Returns:
      EVAL_PAGE always
      Throws:
      JspException - if an error occurs