org.melati.template.webmacro
Interface MelatiWebmacroWriter

Package class diagram package MelatiWebmacroWriter
All Known Implementing Classes:
MelatiBufferedFastWriter, MelatiFastWriter, MelatiWebmacroStringWriter

public interface MelatiWebmacroWriter

MelatiWriter that can be used with WebMacro.

See Also:
WebmacroTemplate.write(org.melati.util.MelatiWriter, org.melati.template.TemplateContext, org.melati.template.TemplateEngine)

Method Summary
 org.webmacro.FastWriter getFastWriter()
          Return a FastWriter that can be used for a while.
 void stopUsingFastWriter(org.webmacro.FastWriter fw)
          Stop using the given FastWriter obtained from this object.
 

Method Detail

getFastWriter

org.webmacro.FastWriter getFastWriter()
Return a FastWriter that can be used for a while.

Returns:
a FastWriter
See Also:
stopUsingFastWriter(FastWriter)

stopUsingFastWriter

void stopUsingFastWriter(org.webmacro.FastWriter fw)
Stop using the given FastWriter obtained from this object.

Anything written to the given writer since obtained will have been written to this object on return.



Copyright © 2000-2010 PanEris. All Rights Reserved.