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.
-
SubtreePropertyTraversal()
- Construct a traversal with a traversal type of GROUP_TRAVERSAL
and a context interest of DEFAULT_NODES.
-
SubtreePropertyTraversal(int)
- Construct a traversal with the specified traversal type
and a context interest of DEFAULT_NODES.
-
SubtreePropertyTraversal(int, int)
- Construct a traversal with the specified traversal type
and context interest.
-
begin(NodeInstance)
- Don't call this yourself.
-
enter(NodeInstance)
- Don't call this yourself.
-
leave(NodeInstance)
- Don't call this yourself.
-
mark()
-
-
popSubtreeProperty(Object)
- Pop an object off of the subtree property stack.
-
pushSubtreeProperty(Object)
- push() is called by nodes to save subtree properties.
-
restore()
-
SubtreePropertyTraversal
public SubtreePropertyTraversal()
- Construct a traversal with a traversal type of GROUP_TRAVERSAL
and a context interest of DEFAULT_NODES.
SubtreePropertyTraversal
public SubtreePropertyTraversal(int traversalType)
- Construct a traversal with the specified traversal type
and a context interest of DEFAULT_NODES.
SubtreePropertyTraversal
public SubtreePropertyTraversal(int traversalType,
int contextInterest)
- Construct a traversal with the specified traversal type
and context interest.
begin
public void begin(NodeInstance inst)
- Don't call this yourself. It's called automatically.
- Overrides:
- begin in class InstanceReturningTraversal
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.
popSubtreeProperty
public void popSubtreeProperty(Object o)
- Pop an object off of the subtree property stack.
mark
protected final void mark()
restore
protected final void restore()
enter
public void enter(NodeInstance inst)
- Don't call this yourself. It's called automatically.
- Overrides:
- enter in class TraversalPathTraversal
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