Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

depth first, pre-order traversal ?

843834Jul 26 2001 — edited Jul 27 2001
Im experiementing with various examples of parsing an XML document and adapting it to a TreeModel for use in a JTree component. Im looking at some of the newer JAXP API's like org.w3c.dom.traversal
Interface DocumentTraversal. Im wondering about depth first and pre-order traversal.
What do these terms mean ? Im guessing it has to do with the tree type data structure ? Like many programmers out there, I went to college for something other than comp sci so i never had the unfortunate pleasure of taking a data structures course.

Also it seems like the level 2 DOM spec is making things alot easier to work with, but even Sun doesnt have a good tutorial on using the newer API's.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 24 2001
Added on Jul 26 2001
2 comments
62 views