fr.opensagres.xdocreport.document.docx.preprocessor.sax.notes
Class AbstractNotesBufferedDocument

java.lang.Object
  extended by fr.opensagres.xdocreport.document.preprocessor.sax.BufferedElement
      extended by fr.opensagres.xdocreport.document.preprocessor.sax.BufferedDocument
          extended by fr.opensagres.xdocreport.document.preprocessor.sax.TransformedBufferedDocument
              extended by fr.opensagres.xdocreport.document.docx.preprocessor.sax.DocxBufferedDocument
                  extended by fr.opensagres.xdocreport.document.docx.preprocessor.sax.notes.AbstractNotesBufferedDocument
All Implemented Interfaces:
IBufferedRegion, ISavable
Direct Known Subclasses:
EndnotesBufferedDocument, FootnotesBufferedDocument

public abstract class AbstractNotesBufferedDocument
extends DocxBufferedDocument


Field Summary
 
Fields inherited from class fr.opensagres.xdocreport.document.docx.preprocessor.sax.DocxBufferedDocument
handler
 
Fields inherited from class fr.opensagres.xdocreport.document.preprocessor.sax.TransformedBufferedDocument
currentRow
 
Fields inherited from class fr.opensagres.xdocreport.document.preprocessor.sax.BufferedElement
endTagElement, startTagElement
 
Constructor Summary
AbstractNotesBufferedDocument(DocXBufferedDocumentContentHandler handler)
           
 
Method Summary
protected  BufferedElement createElement(BufferedElement parent, String uri, String localName, String name, Attributes attributes)
          Create an element instance.
protected abstract  AbstractNoteBufferedRegion createNoteBufferedRegion(String uri, String localName, String name, Attributes attributes)
           
protected abstract  boolean isNote(String uri, String localName, String name)
           
 void onEndEndElement(String uri, String localName, String name)
          On end of End element.
 
Methods inherited from class fr.opensagres.xdocreport.document.docx.preprocessor.sax.DocxBufferedDocument
getCurrentBookmark, getCurrentFldSimpleRegion, getCurrentHyperlink, getCurrentPRegion, getCurrentRRegion, isTable, isTableRow, processScriptBeforeAfter
 
Methods inherited from class fr.opensagres.xdocreport.document.preprocessor.sax.TransformedBufferedDocument
getCurrentTable, getCurrentTableRow
 
Methods inherited from class fr.opensagres.xdocreport.document.preprocessor.sax.BufferedDocument
getCurrentElement, onEndStartElement, onStartEndElement, onStartStartElement
 
Methods inherited from class fr.opensagres.xdocreport.document.preprocessor.sax.BufferedElement
addRegion, append, append, append, end, findChildren, findChildren, findFirstChild, findFirstChild, findParent, findParent, get, getAttributes, getEndTagElement, getEndTagElementName, getInnerText, getName, getOwnerElement, getParent, getStartTagElement, getStartTagElementName, getTextContent, isEnded, isReseted, isString, match, put, registerDynamicAttributes, removeAll, reset, save, setAttribute, setContentAfterEndTagElement, setContentBeforeStartTagElement, setInnerText, setTextContent, start, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractNotesBufferedDocument

public AbstractNotesBufferedDocument(DocXBufferedDocumentContentHandler handler)
Method Detail

createElement

protected BufferedElement createElement(BufferedElement parent,
                                        String uri,
                                        String localName,
                                        String name,
                                        Attributes attributes)
                                 throws SAXException
Description copied from class: BufferedDocument
Create an element instance.

Overrides:
createElement in class DocxBufferedDocument
Returns:
Throws:
SAXException

onEndEndElement

public void onEndEndElement(String uri,
                            String localName,
                            String name)
Description copied from class: BufferedDocument
On end of End element.

Overrides:
onEndEndElement in class DocxBufferedDocument

createNoteBufferedRegion

protected abstract AbstractNoteBufferedRegion createNoteBufferedRegion(String uri,
                                                                       String localName,
                                                                       String name,
                                                                       Attributes attributes)

isNote

protected abstract boolean isNote(String uri,
                                  String localName,
                                  String name)


Copyright © 2013. All rights reserved.