Bertrand Delacretaz wrote: >On Sunday 17 February 2002 06:07, Peter B. West wrote: > >>. . . >>FOTree maintains the property stacks with the initial value, current >>value and history of the properties being defined on elements of the >>FO Tree. It also implements Runnable, and its run() method is the >>source of the FoTreeBuilder thread. On construction, it is given a >>SyncedCircularBuffer by means of which it receives event notification >>from the parser. >>. . . >> > >Would this SyncedCircularBuffer help in propagating the events >downstream from FoTreeBuilder to StructureRenderers? Or is is already >implemented so in some experimental branch of the code? >
Bertrand, That's the idea. The code is a general synchronised buffer. It exists only in my own experimental code, available under . The SyncedCircularBuffer is in datastructs, which also contains Tree.java. To see it in operation, see apps/Driver.java and fo/FOTree.java. Peter --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]