org.apache.turbine.services.jsp.tags
Class HeadTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--org.apache.turbine.services.jsp.tags.HeadTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class HeadTag
extends javax.servlet.jsp.tagext.TagSupport

Supporting class for the head tag. Tags that surround the screen content that will replace the <x:screen section="head" /> tag in a layout template. Example usage: <x:head><title>Login</title></x:head>

Author:
John D. McNally
See Also:
Serialized Form

Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext, parent, values
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
HeadTag()
           
 
Method Summary
 int doEndTag()
          Method called when the end tag is encountered; it does nothing.
 int doStartTag()
          Method called when the start tag is encountered.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

HeadTag

public HeadTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Method called when the start tag is encountered. If the layout is in the head section, the contents between the head tags are executed. Otherwise they are skipped.
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
EVAL_BODY_INCLUDE, if the section has been set to body or SKIP_BODY, if this section is not active.

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Method called when the end tag is encountered; it does nothing.
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
EVAL_PAGE


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.