fr.opensagres.xdocreport.document.docx.preprocessor.dom
Class DocxDocumentPreprocessor

java.lang.Object
  extended by fr.opensagres.xdocreport.document.preprocessor.AbstractXDocPreprocessor<Document>
      extended by fr.opensagres.xdocreport.document.preprocessor.dom.DOMPreprocessor
          extended by fr.opensagres.xdocreport.document.docx.preprocessor.dom.DocxDocumentPreprocessor
All Implemented Interfaces:
IXDocPreprocessor

public class DocxDocumentPreprocessor
extends DOMPreprocessor

Experimental work to use DOM instead of using SAX for preprocessing step.


Field Summary
static IXDocPreprocessor INSTANCE
           
 
Constructor Summary
DocxDocumentPreprocessor()
           
 
Method Summary
protected  void visit(Document document, String entryName, FieldsMetadata fieldsMetadata, IDocumentFormatter formatter, Map<String,Object> sharedContext)
           
 
Methods inherited from class fr.opensagres.xdocreport.document.preprocessor.dom.DOMPreprocessor
closeSource, getDynamicAttr, getSource, preprocess, updateDynamicAttr, updateDynamicAttr
 
Methods inherited from class fr.opensagres.xdocreport.document.preprocessor.AbstractXDocPreprocessor
create, createAndProcess, preprocess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final IXDocPreprocessor INSTANCE
Constructor Detail

DocxDocumentPreprocessor

public DocxDocumentPreprocessor()
Method Detail

visit

protected void visit(Document document,
                     String entryName,
                     FieldsMetadata fieldsMetadata,
                     IDocumentFormatter formatter,
                     Map<String,Object> sharedContext)
              throws XDocReportException
Specified by:
visit in class DOMPreprocessor
Throws:
XDocReportException


Copyright © 2013. All rights reserved.