- terminology changes to wcmModel (needs to be propogated to java classes as well). template is now form. template output method is now form transformer.

- added an aspect to differentiate form derived from form transformer derived (allowed removing some workarounds from XSLTOutputMethod)

- namespacing variables passed to the xsl processor with alfresco:



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4154 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ariel Backenroth
2006-10-18 19:01:45 +00:00
parent 2e3cbebd82
commit 1507f7387a
15 changed files with 122 additions and 111 deletions

View File

@@ -26,15 +26,30 @@ import java.io.Writer;
public interface TemplateInputMethod
extends Serializable
{
/////////////////////////////////////////////////////////////////////////////
/**
* An abstraction layer around the xml content which allows
* for reseting the xml content being collected by the input method.
*/
public interface InstanceData
{
public Document getContent();
public void setContent(final Document d);
}
/**
* Generates a user interface for inputing data into this template.
*
* @param instanceData provides the xml instance data if available.
* @param tt the template type to generate for
* @param out the writer to write the output to.
*/
public void generate(final InstanceData instanceData,
final TemplateType tt,
final Writer out);
/////////////////////////////////////////////////////////////////////////////
/**
* Generates a user interface for inputing data into this template.
*
* @param instanceData provides the xml instance data if available.
* @param tt the template type to generate for
* @param out the writer to write the output to.
*/
public void generate(final TemplateInputMethod.InstanceData instanceData,
final TemplateType tt,
final Writer out);
}