org.deltava.taglib.content
Class AirlineBannerTag

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

public class AirlineBannerTag
extends TagSupport

A JSP tag to set the name of the Airline banner image.

Since:
2.0
Version:
2.0
Author:
Luke
See Also:
Serialized Form

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
AirlineBannerTag()
           
 
Method Summary
 int doEndTag()
          Renders the Airline name to the JSP output stream.
 void release()
          Releases the tag's state variables.
 void setPageContext(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 javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AirlineBannerTag

public AirlineBannerTag()
Method Detail

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(PageContext ctxt)
Loads the UI scheme name from the user object, if present.

Specified by:
setPageContext in interface Tag
Overrides:
setPageContext in class TagSupport
Parameters:
ctxt - the JSP page context

release

public void release()
Releases the tag's state variables.

Specified by:
release in interface Tag
Overrides:
release in class TagSupport

doEndTag

public int doEndTag()
Renders the Airline name to the JSP output stream.

Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class TagSupport
Returns:
TagSupport.EVAL_PAGE always


Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.