You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Glen Mazza <gl...@yahoo.com> on 2003/05/12 04:06:06 UTC

SAX Handlers for FO and Area Trees

I am starting to look at the SAX handlers used for the
creation of the FO Tree and the Area Tree.  I have a
couple of questions on the code:

1.)  fo.FOTreeBuilder is the SAX Handler for the FO
Tree -- but what is the SAX event handler for building
the Area Tree?  (it seems to be fop.apps.LayoutHandler
but as this class does not derive from
org.xml.sax.helpers.DefaultHandler I am unsure.)

2.)  FOTreeBuilder maintains an internal reference to
an apps.StructureHandler object-- which appears to be
populated from the apps.Driver class with its
LayoutHandler object.  I'm not sure why we need to
give a reference to the LayoutHandler object to the
FOTreeBuilder handler.

It would appear that the FO Tree SAX Handler should
not need to know anything about the LayoutHandler
(Area Tree?) SAX handler in order to create the FO
Tree--but are we linking the two SAX Handlers so that
the Area Tree can start being built before the FO Tree
is finished?

Thanks,
Glen


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org