Class MuteTag
- java.lang.Object
-
- org.apache.commons.jelly.TagSupport
-
- org.apache.commons.jelly.tags.core.MuteTag
-
- All Implemented Interfaces:
Tag
public class MuteTag extends TagSupport
A tag which executes its body but passing no output.Using this tag will still take the time to perform toString on each object returned to the output (but this toString value is discarded. A future version should go more internally so that this is avoided.
- Version:
- $Revision: 155420 $
- Author:
- Paul Libbrecht
-
-
Field Summary
-
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, parent
-
-
Constructor Summary
Constructors Constructor Description MuteTag()
Create an instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doTag(XMLOutput output)
Invoke the body and produce no output.-
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
-
-
-
-
Method Detail
-
doTag
public void doTag(XMLOutput output) throws JellyTagException
Invoke the body and produce no output.- Parameters:
output
- tag output, which is ignored.- Throws:
JellyTagException
-
-