SourceForge.net Logo
aXSL API 0.1

org.axsl.foR
Interface FOTreeListener

All Superinterfaces:
java.util.EventListener

public interface FOTreeListener
extends java.util.EventListener

An interface for classes that need to handle FOTreeEvent objects as they are fired. The key benefit to using this interface is that the implementation can handle PageSequence objects at a higher level, rather than dealing directly with a lower-level SAX event.

See Also:
FOTreeEvent

Method Summary
 void foDocumentComplete(FOTreeEvent event)
          Method for handling the end of the document.
 void foFObjComplete(FOTreeEvent event)
          Method for handling a completed FObj object.
 void foPageSequenceComplete(FOTreeEvent event)
          Method for handling a completed PageSequence object.
 boolean wantsFObjCompleteEvents()
          This flag gives the FOTreeBuilder an opportunity to avoid creating unnecessary event objects unless somebody wants them.
 

Method Detail

foFObjComplete

public void foFObjComplete(FOTreeEvent event)
Method for handling a completed FObj object.

Parameters:
event - The FOTreeEvent that has been fired.

foPageSequenceComplete

public void foPageSequenceComplete(FOTreeEvent event)
Method for handling a completed PageSequence object.

Parameters:
event - The FOTreeEvent that has been fired.

foDocumentComplete

public void foDocumentComplete(FOTreeEvent event)
Method for handling the end of the document.

Parameters:
event - The FOTreeEvent that has been fired.

wantsFObjCompleteEvents

public boolean wantsFObjCompleteEvents()
This flag gives the FOTreeBuilder an opportunity to avoid creating unnecessary event objects unless somebody wants them.

Returns:
True if you need FObj-complete events, false otherwise.

SourceForge.net Logo
aXSL API 0.1

This documentation was created September 6 2006 by The aXSL Group and may be freely copied. See license for details.