mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
- 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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user