KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > processing > TraversalStrategy


1 package spoon.processing;
2
3 /**
4  * This enumeration defines the traversal strategies available for a processor.
5  *
6  * @see spoon.processing.Processor#getTraversalStrategy()
7  */

8 public enum TraversalStrategy {
9
10     /**
11      * When this strategy is selected, the processor will traverse the parent
12      * elements before the children.
13      */

14     PRE_ORDER,
15
16     /**
17      * When this strategy is selected, the processor will traverse the child
18      * elements before the parents.
19      */

20     POST_ORDER
21
22 }
23
Popular Tags