Class AirlineBannerTag

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

public class AirlineBannerTag extends jakarta.servlet.jsp.tagext.TagSupport
A JSP tag to set the name of the Airline banner image.
Since:
2.0
Version:
11.0
Author:
Luke
See Also:
  • Field Summary

    Fields inherited from class jakarta.servlet.jsp.tagext.TagSupport

    id, pageContext

    Fields inherited from interface jakarta.servlet.jsp.tagext.IterationTag

    EVAL_BODY_AGAIN

    Fields inherited from interface jakarta.servlet.jsp.tagext.Tag

    EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Renders the Airline name to the JSP output stream.
    void
    Releases the tag's state variables.
    final void
    setPageContext(jakarta.servlet.jsp.PageContext ctxt)
    Loads the UI scheme name from the user object, if present.
    void
    setVar(String attr)
    Sets the name of the HTTP request attribute to store the image name in.

    Methods inherited from class jakarta.servlet.jsp.tagext.TagSupport

    doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AirlineBannerTag

      public AirlineBannerTag()
  • Method Details

    • setVar

      public void setVar(String attr)
      Sets the name of the HTTP request attribute to store the image name in.
      Parameters:
      attr - the request attribute name
    • setPageContext

      public final void setPageContext(jakarta.servlet.jsp.PageContext ctxt)
      Loads the UI scheme name from the user object, if present.
      Specified by:
      setPageContext in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      setPageContext in class jakarta.servlet.jsp.tagext.TagSupport
      Parameters:
      ctxt - the JSP page context
    • release

      public void release()
      Releases the tag's state variables.
      Specified by:
      release in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      release in class jakarta.servlet.jsp.tagext.TagSupport
    • doEndTag

      public int doEndTag()
      Renders the Airline name to the JSP output stream.
      Specified by:
      doEndTag in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      doEndTag in class jakarta.servlet.jsp.tagext.TagSupport
      Returns:
      TagSupport.EVAL_PAGE always