org.melati.template.webmacro
Class MelatiWebmacroStringWriter

Package class diagram package MelatiWebmacroStringWriter
java.lang.Object
  extended by java.io.Writer
      extended by org.melati.util.MelatiWriter
          extended by org.melati.util.MelatiStringWriter
              extended by org.melati.template.webmacro.MelatiWebmacroStringWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, MelatiWebmacroWriter

public class MelatiWebmacroStringWriter
extends MelatiStringWriter
implements MelatiWebmacroWriter

MelatiStringWriter that can be used with WebMacro.

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

Field Summary
 
Fields inherited from class org.melati.util.MelatiWriter
flush, out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
MelatiWebmacroStringWriter()
           
 
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.
 
Methods inherited from class org.melati.util.MelatiStringWriter
reset, toString
 
Methods inherited from class org.melati.util.MelatiWriter
close, flush, getWriter, setFlushingOn, startFlushing, write, write
 
Methods inherited from class java.io.Writer
append, append, append, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MelatiWebmacroStringWriter

public MelatiWebmacroStringWriter()
Method Detail

getFastWriter

public org.webmacro.FastWriter getFastWriter()
Description copied from interface: MelatiWebmacroWriter
Return a FastWriter that can be used for a while.

Specified by:
getFastWriter in interface MelatiWebmacroWriter
Returns:
a FastWriter that can be used for a while. a FastWriter
See Also:
stopUsingFastWriter(FastWriter), (org.melati.template.TemplateEngine)

stopUsingFastWriter

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

Specified by:
stopUsingFastWriter in interface MelatiWebmacroWriter


Copyright © 2000-2010 PanEris. All Rights Reserved.