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, pageContextFields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoEndTag()Renders the Airline name to the JSP output stream.voidrelease()Releases the tag's state variables.final voidsetPageContext(PageContext ctxt) Loads the UI scheme name from the user object, if present.voidSets 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:
setPageContextin interfaceTag- Overrides:
setPageContextin classTagSupport- Parameters:
ctxt- the JSP page context
-
release
public void release()Releases the tag's state variables.- Specified by:
releasein interfaceTag- Overrides:
releasein classTagSupport
-
doEndTag
public int doEndTag()Renders the Airline name to the JSP output stream.- Specified by:
doEndTagin interfaceTag- Overrides:
doEndTagin classTagSupport- Returns:
- TagSupport.EVAL_PAGE always
-