Class AirlineBannerTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.deltava.taglib.content.AirlineBannerTag
- All Implemented Interfaces:
Serializable
,IterationTag
,JspTag
,Tag
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 javax.servlet.jsp.tagext.TagSupport
id, pageContext
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
doEndTag()
Renders the Airline name to the JSP output stream.void
release()
Releases the tag's state variables.final void
setPageContext
(PageContext ctxt) Loads the UI scheme name from the user object, if present.void
Sets the name of the HTTP request attribute to store the image name in.Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
-
Constructor Details
-
AirlineBannerTag
public AirlineBannerTag()
-
-
Method Details
-
setVar
Sets the name of the HTTP request attribute to store the image name in.- Parameters:
attr
- the request attribute name
-
setPageContext
Loads the UI scheme name from the user object, if present.- Specified by:
setPageContext
in interfaceTag
- Overrides:
setPageContext
in classTagSupport
- Parameters:
ctxt
- the JSP page context
-
release
public void release()Releases the tag's state variables.- Specified by:
release
in interfaceTag
- Overrides:
release
in classTagSupport
-
doEndTag
public int doEndTag()Renders the Airline name to the JSP output stream.- Specified by:
doEndTag
in interfaceTag
- Overrides:
doEndTag
in classTagSupport
- Returns:
- TagSupport.EVAL_PAGE always
-