public class WordXMLRawTemplateProcessor extends AbstractTemplateProcessor implements BidirectionalTemplateProcessor
BidirectionalTemplateProcessor
. Uses
Raw XML parsing : legacy code for now.Modifier and Type | Field and Description |
---|---|
static String |
TEMPLATE_TYPE |
static SimpleDateFormat |
wordXMLDateFormat |
Constructor and Description |
---|
WordXMLRawTemplateProcessor() |
Modifier and Type | Method and Description |
---|---|
List<TemplateInput> |
getInitialParametersDefinition(Blob blob)
Extract parameters from the Template file.
|
String |
readPropertyFile(InputStream in) |
Blob |
renderTemplate(TemplateBasedDocument templateDocument,
String templateName)
Perform rendering of the named template against the
TemplateBasedDocument |
DocumentModel |
updateDocumentFromBlob(TemplateBasedDocument templateDocument,
String templateName) |
public static SimpleDateFormat wordXMLDateFormat
public static final String TEMPLATE_TYPE
public Blob renderTemplate(TemplateBasedDocument templateDocument, String templateName) throws Exception
TemplateProcessor
TemplateBasedDocument
renderTemplate
in interface TemplateProcessor
Exception
public List<TemplateInput> getInitialParametersDefinition(Blob blob) throws Exception
TemplateProcessor
getInitialParametersDefinition
in interface TemplateProcessor
Exception
public String readPropertyFile(InputStream in) throws Exception
Exception
public DocumentModel updateDocumentFromBlob(TemplateBasedDocument templateDocument, String templateName) throws Exception
updateDocumentFromBlob
in interface BidirectionalTemplateProcessor
Exception
Copyright © 2013 Nuxeo SA. All Rights Reserved.