org.mmbase.bridge.jsp.taglib
Class ContentTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.mmbase.bridge.jsp.taglib.ContextReferrerTag
org.mmbase.bridge.jsp.taglib.LocaleTag
org.mmbase.bridge.jsp.taglib.ContentTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class ContentTag
- extends LocaleTag
Provided environmental information to its body's tags.
- Since:
- MMBase-1.7
- Version:
- $Id: ContentTag.java,v 1.21.2.4 2004/08/02 15:25:29 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 |
doEndTag, findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getId, getObject, getPageContext, getReferid, getString, getWriterValue, haveBody, release, setContext, setEscape, setId, 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 |
ContentTag
public ContentTag()
setType
public void setType(java.lang.String ct)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setEncoding
public void setEncoding(java.lang.String e)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setEscaper
public void setEscaper(java.lang.String e)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setPostprocessor
public void setPostprocessor(java.lang.String e)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setExpires
public void setExpires(java.lang.String e)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
getType
public java.lang.String getType()
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
getPostProcessor
protected CharTransformer getPostProcessor()
throws javax.servlet.jsp.JspTagException
- Returns:
- A CharTransformer or null if no postprocessing needed
- Throws:
javax.servlet.jsp.JspTagException - can occur if taglibcontent.xml is misconfigured
getEncoding
public java.lang.String getEncoding()
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
getCharTransformer
protected static CharTransformer getCharTransformer(java.lang.String id)
throws javax.servlet.jsp.JspTagException
- Returns:
- A CharTransformer
- Throws:
javax.servlet.jsp.JspTagException - if not transformer with given id was configured
getWriteEscaper
public CharTransformer getWriteEscaper()
throws javax.servlet.jsp.JspTagException
- Called by children
- Returns:
- A CharTransformer (not null)
- Throws:
javax.servlet.jsp.JspTagException
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspTagException
- Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doStartTag in class LocaleTag
- Throws:
javax.servlet.jsp.JspTagException
doAfterBody
public int doAfterBody()
throws javax.servlet.jsp.JspTagException
- Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag- Overrides:
doAfterBody in class LocaleTag
- Throws:
javax.servlet.jsp.JspTagException
MMBase build 1.7.1.20041002