org.peaseplate.chunk
Interface OutputStrategy

All Known Implementing Classes:
AbstractOutputChunk, DefaultOutputStrategy, HTMLOutputStrategy, MessageChunk, PrintChunk, XMLOutputStrategy

public interface OutputStrategy

The chunk gets an object from the command call, and then writes it to stream. A OutputStrategy tells the chunk, how to do this.

Author:
Manfred HANTSCHEL

Method Summary
 void write(java.io.Writer writer, java.lang.Object object)
          Writes the object
 

Method Detail

write

void write(java.io.Writer writer,
           java.lang.Object object)
           throws java.io.IOException
Writes the object

Parameters:
writer - the writer
object - the object
Throws:
java.io.IOException


Copyright © 2008. All Rights Reserved.