public abstract class AbstractModelBody extends Object implements ModelBody
| Constructor and Description | 
|---|
| AbstractModelBody(Writer defaultWriter)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | evaluate()Evaluates the body and writes in the default writer. | 
| String | evaluateAsString()Evaluates a body and returns it as a string. | 
| void | evaluateWithoutWriting()Evaluates a body, but discards result. | 
public AbstractModelBody(Writer defaultWriter)
defaultWriter - The default writer to use.public void evaluate()
              throws IOException
ModelBodyevaluate in interface ModelBodyIOException - If something goes wrong.public String evaluateAsString() throws IOException
ModelBodyevaluateAsString in interface ModelBodyIOException - If something goes wrong.public void evaluateWithoutWriting()
                            throws IOException
ModelBodyevaluateWithoutWriting in interface ModelBodyIOException - If something goes wrong.Copyright © 2000–2025 Apache Software Foundation. All rights reserved.