org.mmbase.bridge.jsp.taglib
Class EscaperTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byorg.mmbase.bridge.jsp.taglib.ContextReferrerTag
              extended byorg.mmbase.bridge.jsp.taglib.EscaperTag
All Implemented Interfaces:
BodyTag, IterationTag, ParamHandler, Serializable, Tag

public class EscaperTag
extends ContextReferrerTag
implements ParamHandler

Configures a new Escaper on this page.

Since:
MMBase-1.8
Version:
$Id: EscaperTag.java,v 1.8 2006/06/23 13:17:30 johannes Exp $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Field Summary
protected  Parameters parameters
           
protected  CharTransformer transformer
           
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
contextId, EVAL_BODY, helper, id, pageContextTag, writerid
 
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
 
Constructor Summary
EscaperTag()
           
 
Method Summary
 void addParameter(String key, Object value)
           
 void chain(CharTransformer trans)
           
 int doEndTag()
           
 int doStartTag()
           
 void release()
          Release all allocated resources.
 void setReferid(String r)
          ContextReferrers normally can have the attribute 'referid'.
 void setType(String t)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
fillStandardParameters, findLoopOrQuery, findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getDefaultLocale, getEscapedValue, getId, getLocale, getObject, getObjectConditional, getPageContext, getPageContextTag, getReferid, getString, getTaglibVersion, getTimeZone, getWriterValue, haveBody, setContext, setEscape, setId, setJspvar, setListdelimiter, setPageContext, setVartype, setWrite, setWriter
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, 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
 

Field Detail

parameters

protected Parameters parameters

transformer

protected CharTransformer transformer
Constructor Detail

EscaperTag

public EscaperTag()
Method Detail

setType

public void setType(String t)
             throws JspTagException
Throws:
JspTagException

setReferid

public void setReferid(String r)
                throws JspTagException
Description copied from class: ContextReferrerTag
ContextReferrers normally can have the attribute 'referid'. If a ContextReferrer has the 'id' attribute it registers its output in the surrounding Context. With 'referid' you can 'repeat' a tag which had the 'id' attribute.

Overrides:
setReferid in class ContextReferrerTag
Throws:
JspTagException

addParameter

public void addParameter(String key,
                         Object value)
                  throws JspTagException
Specified by:
addParameter in interface ParamHandler
Throws:
JspTagException

chain

public void chain(CharTransformer trans)
           throws JspTagException
Throws:
JspTagException

doStartTag

public int doStartTag()
               throws JspException
Specified by:
doStartTag in interface Tag
Throws:
JspException

doEndTag

public int doEndTag()
             throws JspTagException
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class ContextReferrerTag
Throws:
JspTagException

release

public void release()
Description copied from class: ContextReferrerTag
Release all allocated resources.

Specified by:
release in interface Tag
Overrides:
release in class ContextReferrerTag


MMBase build 1.8.1.20060716