All Packages Class Hierarchy This Package Previous Next Index

Interface org.jfouffa.jslider.generator.GeneratorObserver

public interface GeneratorObserver

Method index

 o notifyConnection(URL)
Notifies the connection to the document
 o notifyEndDocument(URL, String, int)
Notifies the end of the document
 o notifyError(URL)
Notifies an error with the document
 o notifyMainTitle(URL, String)
Notifies the TITLE element.
 o notifyNewSlideFound(URL, String, int, int)
Notifies a new slide.
 o notifyWrite(URL, String, int)
Notifies a new slide and his page number.

Methods

 o notifyError
 public abstract void notifyError(URL document)
Notifies an error with the document

Parameters:
document - the URL of the main document
 o notifyConnection
 public abstract void notifyConnection(URL document)
Notifies the connection to the document

Parameters:
document - the URL of the main document
 o 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.
 o 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
 o 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
 o 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