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 "Peter B. West" <pb...@powerup.com.au> on 2002/02/18 11:08:34 UTC

[Fwd: Re: Integrating Tree into FO tree handling]

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: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org