xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas DeWeese <Thomas.DeWe...@Kodak.com>
Subject Re: Problem in GVTTreeWalker ?
Date Fri, 24 Sep 2004 11:30:08 GMT
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

View raw message