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

java.lang.Object
  extended by fr.opensagres.xdocreport.document.docx.preprocessor.sax.notes.NoteRegistry

public class NoteRegistry
extends Object

Footnote/Endnote information registry.


Field Summary
static String GET_NOTES_METHOD
           
static String REGISTER_NOTE_METHOD
           
 
Constructor Summary
NoteRegistry()
           
 
Method Summary
 List<NoteInfo> getNotes(String id)
          Returns the list of footnote/endnote informations for the given id.
 String registerNote(String id, Object content)
          Register information (id +content) for footnote/endnote and add it to the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REGISTER_NOTE_METHOD

public static final String REGISTER_NOTE_METHOD
See Also:
Constant Field Values

GET_NOTES_METHOD

public static final String GET_NOTES_METHOD
See Also:
Constant Field Values
Constructor Detail

NoteRegistry

public NoteRegistry()
Method Detail

registerNote

public String registerNote(String id,
                           Object content)
                    throws XDocReportException,
                           IOException
Register information (id +content) for footnote/endnote and add it to the list.

Parameters:
id -
content -
Returns:
Throws:
XDocReportException
IOException

getNotes

public List<NoteInfo> getNotes(String id)
Returns the list of footnote/endnote informations for the given id.

Parameters:
id -
Returns:


Copyright © 2013. All rights reserved.