users@jaxb.java.net

Re: Iterating Through Content Tree

From: John Tracy <junk_at_valenciasystems.com>
Date: Thu, 14 Aug 2003 18:34:43 -0400

Writing the code to iterate through this tree manually is not very
desirable. It's a fairly complex schema and writing this code would
take too much time.

It sure would be nice if these generated classes could provide a method
returning a list of all of their children...

----- Original Message -----
From: "Kohsuke Kawaguchi" <Kohsuke.Kawaguchi_at_Sun.COM>
To: <users_at_jaxb.dev.java.net>
Sent: Thursday, August 14, 2003 5:15 PM
Subject: Re: Iterating Through Content Tree


>
> I guess the only way to do this today is by using the access methods and
> manually writing code to walk around the tree.
>
> I suppose some sort of the visitor pattern support would drastically
> make it easy to do that kind of thing...
>
> regards,
> --
> Kohsuke Kawaguchi
> Sun Microsystems kohsuke.kawaguchi_at_sun.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net