git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3605 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ariel Backenroth
2006-08-24 20:43:08 +00:00
parent 03476e862e
commit 465ae145be
8 changed files with 132 additions and 22 deletions

View File

@@ -20,10 +20,20 @@ import java.io.Serializable;
import java.io.Writer;
import org.w3c.dom.Document;
/**
* Serializes the xml data to a writer.
*/
public interface TemplateOutputMethod
extends Serializable
{
/**
* Serializes the xml data in to a presentation format.
*
* @param xmlContent the xml content to serialize
* @param tt the template type that collected the xml content.
* @param out the writer to serialize to.
*/
public void generate(final Document xmlContent,
final TemplateType tt,
final Writer out)