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

Class dnx.lr.Action

java.lang.Object
   |
   +----dnx.util.DNXObject
           |
           +----dnx.util.DNXInstancedObject
                   |
                   +----dnx.lr.Action

public class Action
extends DNXInstancedObject
Action is the base class of all objects that are used to keep track of state during a mapping or similar operation that iterates over nodes or instances. The methods on actions are "callbacks" that are called at various points during the mapping (e.g. whenever a node or instance is visited). Various subclasses override the methods to implement different behaviors.

Variable Index

 o CONTINUE
Constants that are return values from the visit() function of various subclasses, indicating whether the mapping should continue:

CONTINUE
Continue mapping the next node or instance.
 o PRUNE
 o STOP

Constructor Index

 o Action()

Variables

 o CONTINUE
  public final static int CONTINUE
Constants that are return values from the visit() function of various subclasses, indicating whether the mapping should continue:

CONTINUE
Continue mapping the next node or instance.
STOP
Stop the mapping right here.
PRUNE
Don't traverse into any nodes or instances reachable recursively from this node or instance, but otherwise continue the mapping. This may or may not make sense depending on the semantics of the Action. For downward traversals (Traversal class), this will prevent any children of this node or instance from being visited. For upward traversals (UpwardMapping class), this will prevent any parents of this node from being visited.
 o STOP
  public final static int STOP
 o PRUNE
  public final static int PRUNE

Constructors

 o Action
  public Action()

All Packages  Class Hierarchy  This Package  Previous  Next  Index