com.aoindustries.website.skintags
Class SkinTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by com.aoindustries.website.skintags.PageAttributesBodyTag
              extended by com.aoindustries.website.skintags.SkinTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class SkinTag
extends PageAttributesBodyTag

Writes the skin header and footer.

Author:
AO Industries, Inc.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
SkinTag()
           
 
Method Summary
 int doEndTag(PageAttributes pageAttributes)
           
 int doStartTag(PageAttributes pageAttributes)
           
 java.lang.String getLayout()
           
 java.lang.String getOnload()
           
static Skin getSkin(javax.servlet.jsp.PageContext pageContext)
          Gets the current skin from the session.
 void setLayout(java.lang.String layout)
           
 void setOnload(java.lang.String onload)
           
 
Methods inherited from class com.aoindustries.website.skintags.PageAttributesBodyTag
doEndTag, doStartTag
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

SkinTag

public SkinTag()
Method Detail

getSkin

public static Skin getSkin(javax.servlet.jsp.PageContext pageContext)
                    throws javax.servlet.jsp.JspException
Gets the current skin from the session. It is assumed the skin is already set. Will throw an exception if not available.

Throws:
javax.servlet.jsp.JspException

doStartTag

public int doStartTag(PageAttributes pageAttributes)
               throws javax.servlet.jsp.JspException
Overrides:
doStartTag in class PageAttributesBodyTag
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag(PageAttributes pageAttributes)
             throws javax.servlet.jsp.JspException
Overrides:
doEndTag in class PageAttributesBodyTag
Throws:
javax.servlet.jsp.JspException

getLayout

public java.lang.String getLayout()

setLayout

public void setLayout(java.lang.String layout)

getOnload

public java.lang.String getOnload()

setOnload

public void setOnload(java.lang.String onload)