Class dnx.lr.SubtreePropertyTraversal
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dnx.lr.SubtreePropertyTraversal

java.lang.Object
   |
   +----dnx.util.DNXObject
           |
           +----dnx.util.DNXInstancedObject
                   |
                   +----dnx.lr.Action
                           |
                           +----dnx.lr.Traversal
                                   |
                                   +----dnx.lr.InstanceTraversal
                                           |
                                           +----dnx.lr.TraversalPathTraversal
                                                   |
                                                   +----dnx.lr.InstancePathTraversal
                                                           |
                                                           +----dnx.lr.InstanceReturningTraversal
                                                                   |
                                                                   +----dnx.lr.SubtreePropertyTraversal

public class SubtreePropertyTraversal
extends InstanceReturningTraversal
A traversal which keeps track of the currently applicable subtree properties.

Constructor Index

 o SubtreePropertyTraversal()
Construct a traversal with a traversal type of GROUP_TRAVERSAL and a context interest of DEFAULT_NODES.
 o SubtreePropertyTraversal(int)
Construct a traversal with the specified traversal type and a context interest of DEFAULT_NODES.
 o SubtreePropertyTraversal(int, int)
Construct a traversal with the specified traversal type and context interest.

Method Index

 o begin(NodeInstance)
Don't call this yourself.
 o enter(NodeInstance)
Don't call this yourself.
 o leave(NodeInstance)
Don't call this yourself.
 o mark()
 o popSubtreeProperty(Object)
Pop an object off of the subtree property stack.
 o pushSubtreeProperty(Object)
push() is called by nodes to save subtree properties.
 o restore()

Constructors

 o SubtreePropertyTraversal
  public SubtreePropertyTraversal()
Construct a traversal with a traversal type of GROUP_TRAVERSAL and a context interest of DEFAULT_NODES.
 o SubtreePropertyTraversal
  public SubtreePropertyTraversal(int traversalType)
Construct a traversal with the specified traversal type and a context interest of DEFAULT_NODES.
 o SubtreePropertyTraversal
  public SubtreePropertyTraversal(int traversalType,
                                  int contextInterest)
Construct a traversal with the specified traversal type and context interest.

Methods

 o begin
  public void begin(NodeInstance inst)
Don't call this yourself. It's called automatically.
Overrides:
begin in class InstanceReturningTraversal
 o pushSubtreeProperty
  public void pushSubtreeProperty(Object o)
push() is called by nodes to save subtree properties. The default push method does not interpret the subtree property information, but just saves it on the stack. This is typically overridden to do something interesting.
 o popSubtreeProperty
  public void popSubtreeProperty(Object o)
Pop an object off of the subtree property stack.
 o mark
  protected final void mark()
 o restore
  protected final void restore()
 o enter
  public void enter(NodeInstance inst)
Don't call this yourself. It's called automatically.
Overrides:
enter in class TraversalPathTraversal
 o leave
  public void leave(NodeInstance inst)
Don't call this yourself. It's called automatically.
Overrides:
leave in class TraversalPathTraversal

All Packages  Class Hierarchy  This Package  Previous  Next  Index