Interface org.jfouffa.jslider.generator.GeneratorObserver
- public interface GeneratorObserver
Method index
-
notifyConnection(URL)
- Notifies the connection to the document
-
notifyEndDocument(URL, String, int)
- Notifies the end of the document
-
notifyError(URL)
- Notifies an error with the document
-
notifyMainTitle(URL, String)
- Notifies the TITLE element.
-
notifyNewSlideFound(URL, String, int, int)
- Notifies a new slide.
-
notifyWrite(URL, String, int)
- Notifies a new slide and his page number.
Methods
notifyError
public abstract void notifyError(URL document)
- Notifies an error with the document
- Parameters:
- document - the URL of the main document
notifyConnection
public abstract void notifyConnection(URL document)
- Notifies the connection to the document
- Parameters:
- document - the URL of the main document
notifyMainTitle
public abstract void notifyMainTitle(URL toc,
String title)
- Notifies the TITLE element.
- Parameters:
- toc - the URL of the table of contents
- title - The title of the document.
notifyNewSlideFound
public abstract void notifyNewSlideFound(URL slide,
String title,
int pageNumber,
int line)
- Notifies a new slide.
- Parameters:
- slide - the URL of the new slide
- title - the title of the slide
- pageNumber - the page number of the slide
- line - the line number in the main document
notifyEndDocument
public abstract void notifyEndDocument(URL document,
String title,
int numberOfPage)
- Notifies the end of the document
- Parameters:
- document - the URL of the main document
- title - the title of the document
- numberOfPage - the number of slides for this document
notifyWrite
public abstract void notifyWrite(URL slide,
String title,
int pageNumber)
- Notifies a new slide and his page number.
- Parameters:
- slide - the URL of the new slide
- title - the title of the slide
- pageNumber - the page number of the slide
- line - the line number in the main document