Class AbstractModelBody
java.lang.Object
org.apache.tiles.autotag.core.runtime.AbstractModelBody
- All Implemented Interfaces:
- ModelBody
- Direct Known Subclasses:
- FreemarkerModelBody,- JspModelBody,- VelocityModelBody
Base class for the abstraction of the body.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidevaluate()Evaluates the body and writes in the default writer.Evaluates a body and returns it as a string.voidEvaluates a body, but discards result.
- 
Constructor Details- 
AbstractModelBodyConstructor.- Parameters:
- defaultWriter- The default writer to use.
 
 
- 
- 
Method Details- 
evaluateDescription copied from interface:ModelBodyEvaluates the body and writes in the default writer.- Specified by:
- evaluatein interface- ModelBody
- Throws:
- IOException- If something goes wrong.
 
- 
evaluateAsStringDescription copied from interface:ModelBodyEvaluates a body and returns it as a string.- Specified by:
- evaluateAsStringin interface- ModelBody
- Returns:
- The body, as a string.
- Throws:
- IOException- If something goes wrong.
 
- 
evaluateWithoutWritingDescription copied from interface:ModelBodyEvaluates a body, but discards result.- Specified by:
- evaluateWithoutWritingin interface- ModelBody
- Throws:
- IOException- If something goes wrong.
 
 
-