Class XSLTProcessor
- java.lang.Object
-
- org.nuxeo.template.processors.AbstractTemplateProcessor
-
- org.nuxeo.template.processors.xslt.XSLTProcessor
-
- All Implemented Interfaces:
TemplateProcessor
public class XSLTProcessor extends AbstractTemplateProcessor implements TemplateProcessor
-
-
Field Summary
-
Fields inherited from class org.nuxeo.template.processors.AbstractTemplateProcessor
BUFFER_SIZE, log
-
-
Constructor Summary
Constructors Constructor Description XSLTProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TemplateInput>
getInitialParametersDefinition(Blob blob)
Extract parameters from the Template file.Blob
renderTemplate(TemplateBasedDocument templateBasedDocument, String templateName)
Perform rendering of the named template against theTemplateBasedDocument
-
Methods inherited from class org.nuxeo.template.processors.AbstractTemplateProcessor
getSourceTemplateBlob, getWorkingDir
-
-
-
-
Method Detail
-
renderTemplate
public Blob renderTemplate(TemplateBasedDocument templateBasedDocument, String templateName)
Description copied from interface:TemplateProcessor
Perform rendering of the named template against theTemplateBasedDocument
- Specified by:
renderTemplate
in interfaceTemplateProcessor
-
getInitialParametersDefinition
public List<TemplateInput> getInitialParametersDefinition(Blob blob)
Description copied from interface:TemplateProcessor
Extract parameters from the Template file.- Specified by:
getInitialParametersDefinition
in interfaceTemplateProcessor
- Returns:
- List of parameters for this template
-
-