|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.autotag.core.runtime.AbstractModelBody
public abstract class AbstractModelBody
Base class for the abstraction of the body.
Constructor Summary | |
---|---|
AbstractModelBody(Writer defaultWriter)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.tiles.autotag.core.runtime.ModelBody |
---|
evaluate |
Constructor Detail |
---|
public AbstractModelBody(Writer defaultWriter)
defaultWriter
- The default writer to use.Method Detail |
---|
public void evaluate() throws IOException
ModelBody
evaluate
in interface ModelBody
IOException
- If something goes wrong.public String evaluateAsString() throws IOException
ModelBody
evaluateAsString
in interface ModelBody
IOException
- If something goes wrong.public void evaluateWithoutWriting() throws IOException
ModelBody
evaluateWithoutWriting
in interface ModelBody
IOException
- If something goes wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |