Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.aendvari.tethys.tag.inset
Class DefineTag  view DefineTag download DefineTag.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.aendvari.tethys.tag.data.DataBodyTag
              extended bycom.aendvari.tethys.tag.context.ContextBodyTag
                  extended bycom.aendvari.tethys.tag.inset.InsetBodyTag
                      extended bycom.aendvari.tethys.tag.inset.DefineTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, com.aendvari.tethys.tag.context.ContextAncestorTag, com.aendvari.tethys.tag.data.DataAncestorTag, InsetAncestorTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class DefineTag
extends InsetBodyTag

Implementation class for the inset "define" tag.


Field Summary
protected  com.aendvari.tethys.context.inset.Inset inset
          The inset definition.
protected  java.lang.String name
          The name of the tag.
 
Fields inherited from class com.aendvari.tethys.tag.inset.InsetBodyTag
insetContext, insetContextMethod
 
Fields inherited from class com.aendvari.tethys.tag.context.ContextBodyTag
context
 
Fields inherited from class com.aendvari.tethys.tag.data.DataBodyTag
dataScope
 
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
DefineTag()
           
 
Method Summary
 int doEndTag()
          Process the end tag by putting this define into it's parent "include" tag.
 int doStartTag()
          Start the tag by evaluating body into existing out stream.
 java.lang.String getBody()
           
 java.lang.String getName()
           
 void release()
          Release all allocated resources.
 void setName(java.lang.String name)
           
 
Methods inherited from class com.aendvari.tethys.tag.inset.InsetBodyTag
establishInsetContext, getInsetContext, getParentInsetContext
 
Methods inherited from class com.aendvari.tethys.tag.context.ContextBodyTag
determineContext, getContext, getParentContext, setContext
 
Methods inherited from class com.aendvari.tethys.tag.data.DataBodyTag
getDataScope, setDataScope
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, 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
 

Field Detail

name

protected java.lang.String name
The name of the tag.


inset

protected com.aendvari.tethys.context.inset.Inset inset
The inset definition.

Constructor Detail

DefineTag

public DefineTag()
Method Detail

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

getBody

public java.lang.String getBody()

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Start the tag by evaluating body into existing out stream.


doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Process the end tag by putting this define into it's parent "include" tag. If a parent tag is not found, it is stored into the page definition list.


release

public void release()
Release all allocated resources.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class InsetBodyTag