xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Girod <herve.gi...@club-internet.fr>
Subject Re: Problem in GVTTreeWalker ?
Date Sun, 26 Sep 2004 20:37:44 GMT
Ah ah !! You are fast !!

Thank you.

----- Original Message ----- 
From: "Thomas DeWeese" <Thomas.DeWeese@Kodak.com>
To: <batik-dev@xml.apache.org>
Sent: Friday, September 24, 2004 1:30 PM
Subject: Re: Problem in GVTTreeWalker ?


Hervé Girod wrote:

> I'm using the GVTTreeWalker class to iterate through a GVT Tree. When I
> used it previously for iterating beginning from the GVT root of the
> tree, I had no problem.
>
> [...]
>
> I think the exception will always be raised if the beginning node is not
> the root node of the GVT Tree (because node.getRoot() returns the tree
> root Node). So it is impossible to begin with another node than the root.
>
> Am I right ?

    Not any more.  I checked in a slightly modified version of
GVTTreeWalker that let's you start with any element in the tree.
The walk should be restricted to that subtree.




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


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


Mime
View raw message