org.mmbase.bridge.jsp.taglib
Class WriteTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--org.mmbase.bridge.jsp.taglib.ContextReferrerTag
                    |
                    +--org.mmbase.bridge.jsp.taglib.WriteTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
ImportTag

public class WriteTag
extends ContextReferrerTag

The writetag can take a variable from the context and put it in a jsp variable, or write it to the page.

Author:
Michiel Meeuwissen
See Also:
Serialized Form

Field Summary
protected  java.lang.String jspvar
           
protected  java.lang.String type
           
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
pageContextTag, referid
 
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_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
WriteTag()
           
 
Method Summary
 int doAfterBody()
           
 int doStartTag()
           
 void release()
          Release all allocated resources.
 void setJspvar(java.lang.String j)
           
 void setType(java.lang.String t)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
findParentTag, findParentTag, getAttributeValue, getContextTag, getContextTag, getReferid, getReferIdValue, setContext, setPageContext, setReferid, stringSplitter, stringSplitter
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setParent
 

Field Detail

jspvar

protected java.lang.String jspvar

type

protected java.lang.String type
Constructor Detail

WriteTag

public WriteTag()
Method Detail

setType

public void setType(java.lang.String t)

setJspvar

public void setJspvar(java.lang.String j)

release

public void release()
Release all allocated resources.
Overrides:
release in class ContextReferrerTag

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspTagException
Overrides:
doAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport


MMBase 2001