Package org.nuxeo.template.processors
Class IdentityProcessor
- java.lang.Object
-
- org.nuxeo.template.processors.AbstractTemplateProcessor
-
- org.nuxeo.template.processors.IdentityProcessor
-
- All Implemented Interfaces:
TemplateProcessor
public class IdentityProcessor extends AbstractTemplateProcessor
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAME-
Fields inherited from class org.nuxeo.template.processors.AbstractTemplateProcessor
BUFFER_SIZE, log
-
-
Constructor Summary
Constructors Constructor Description IdentityProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TemplateInput>getInitialParametersDefinition(Blob blob)Extract parameters from the Template file.BlobrenderTemplate(TemplateBasedDocument templateBasedDocument, String templateName)Perform rendering of the named template against theTemplateBasedDocument-
Methods inherited from class org.nuxeo.template.processors.AbstractTemplateProcessor
getSourceTemplateBlob, getWorkingDir
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IdentityProcessor
public IdentityProcessor()
-
-
Method Detail
-
renderTemplate
public Blob renderTemplate(TemplateBasedDocument templateBasedDocument, String templateName)
Description copied from interface:TemplateProcessorPerform rendering of the named template against theTemplateBasedDocument
-
getInitialParametersDefinition
public List<TemplateInput> getInitialParametersDefinition(Blob blob)
Description copied from interface:TemplateProcessorExtract parameters from the Template file.- Returns:
- List of parameters for this template
-
-