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, ContainerReferrer, FunctionContainerReferrer, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag, Writer
- public class WriteTag
- extends ContextReferrerTag
- implements Writer, FunctionContainerReferrer
The writetag can take a variable from the context and put it in a
jsp variable, or write it to the page.
This is also more or less the simplest possible implemententation
of a 'Writer' tag.
- Version:
- $Id: WriteTag.java,v 1.42.2.2 2005/03/14 18:33:24 michiel Exp $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
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 |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
fillStandardParameters, findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getId, getLocale, getObject, getPageContext, getReferid, getString, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setPageContext, setReferid, setVartype, setWrite, setWriter |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, getBodyContent, getPreviousOut, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getParent, getValue, getValues, removeValue, 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 |
MAX_COOKIE_AGE
public static final int MAX_COOKIE_AGE
- See Also:
- Constant Field Values
WriteTag
public WriteTag()
setSession
public void setSession(java.lang.String s)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setCookie
public void setCookie(java.lang.String s)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setApplication
public void setApplication(java.lang.String s)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException- Since:
- MMBase-1.7.4
setRequest
public void setRequest(java.lang.String s)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException- Since:
- MMBase-1.7.4
setValue
public void setValue(java.lang.String v)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setContainer
public void setContainer(java.lang.String c)
throws javax.servlet.jsp.JspTagException
- Description copied from interface:
FunctionContainerReferrer
- If it should not use parent container
- Specified by:
setContainer in interface FunctionContainerReferrer
- Throws:
javax.servlet.jsp.JspTagException
getObject
protected java.lang.Object getObject()
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspTagException
- Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
- Throws:
javax.servlet.jsp.JspTagException
doAfterBody
public int doAfterBody()
throws javax.servlet.jsp.JspException
- Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
- Throws:
javax.servlet.jsp.JspException
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspTagException
- Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doEndTag in class ContextReferrerTag
- Throws:
javax.servlet.jsp.JspTagException
MMBase build 1.7.4.20050922