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
TemplateProcessorTemplateBasedDocumentrenderTemplate in interface TemplateProcessorExceptionpublic List<TemplateInput> getInitialParametersDefinition(Blob blob) throws Exception
TemplateProcessorgetInitialParametersDefinition in interface TemplateProcessorExceptionpublic String readPropertyFile(InputStream in) throws Exception
Exceptionpublic DocumentModel updateDocumentFromBlob(TemplateBasedDocument templateDocument, String templateName) throws Exception
updateDocumentFromBlob in interface BidirectionalTemplateProcessorExceptionCopyright © 2014 Nuxeo SA. All rights reserved.