fr.opensagres.xdocreport.document.odt.preprocessor
Class ODTManifestXMLDocumentContentHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by fr.opensagres.xdocreport.document.preprocessor.sax.BufferedDocumentContentHandler<BufferedDocument>
          extended by fr.opensagres.xdocreport.document.odt.preprocessor.ODTManifestXMLDocumentContentHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class ODTManifestXMLDocumentContentHandler
extends BufferedDocumentContentHandler<BufferedDocument>


Field Summary
protected  IDocumentFormatter formatter
           
 
Fields inherited from class fr.opensagres.xdocreport.document.preprocessor.sax.BufferedDocumentContentHandler
bufferedDocument, CDATA_TYPE
 
Constructor Summary
ODTManifestXMLDocumentContentHandler(FieldsMetadata fieldsMetadata, IDocumentFormatter formatter)
           
 
Method Summary
 void doEndElement(String uri, String localName, String name)
           
protected  void generateManifestFileEntry(StringBuilder script, String mediaType, String fullPath)
           
 
Methods inherited from class fr.opensagres.xdocreport.document.preprocessor.sax.BufferedDocumentContentHandler
characters, createDocument, doStartElement, endElement, findParentElementInfo, findParentElementInfo, flushCharacters, getBufferedDocument, getCurrentElement, getElementIndex, mustEncodeCharachers, printEscaped, resetCharacters, startDocument, startElement, startPrefixMapping, toAttributesImpl
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

formatter

protected final IDocumentFormatter formatter
Constructor Detail

ODTManifestXMLDocumentContentHandler

public ODTManifestXMLDocumentContentHandler(FieldsMetadata fieldsMetadata,
                                            IDocumentFormatter formatter)
Method Detail

doEndElement

public void doEndElement(String uri,
                         String localName,
                         String name)
                  throws SAXException
Overrides:
doEndElement in class BufferedDocumentContentHandler<BufferedDocument>
Throws:
SAXException

generateManifestFileEntry

protected void generateManifestFileEntry(StringBuilder script,
                                         String mediaType,
                                         String fullPath)


Copyright © 2013. All rights reserved.