public interface ModelBody
Modifier and Type | Method and Description |
---|---|
void |
evaluate()
Evaluates the body and writes in the default writer.
|
void |
evaluate(Writer writer)
Evaluates the body and writes the result in the writer.
|
String |
evaluateAsString()
Evaluates a body and returns it as a string.
|
void |
evaluateWithoutWriting()
Evaluates a body, but discards result.
|
String evaluateAsString() throws IOException
IOException
- If something goes wrong.void evaluateWithoutWriting() throws IOException
IOException
- If something goes wrong.void evaluate() throws IOException
IOException
- If something goes wrong.void evaluate(Writer writer) throws IOException
writer
- The writer to write the result into.IOException
- If something goes wrong.Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.