java.lang.Object
java.io.Writer
org.springframework.extensions.surf.extensibility.impl.ModelWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class ModelWriter extends Writer

An extension of the Writer class that is used with the ExtensibilityModel. Rather than writing directly to an output stream this writes to ExtensibilityContent instances in the ExtensibilityModel. This allows rendered content to be removed, replaced or added to as extensions to the model are processed.

Author:
David Draper