Class dnx.lr.InstancePathTraversal
All Packages Class Hierarchy This Package Previous Next Index
Class dnx.lr.InstancePathTraversal
java.lang.Object
|
+----dnx.util.DNXObject
|
+----dnx.util.DNXInstancedObject
|
+----dnx.lr.Action
|
+----dnx.lr.Traversal
|
+----dnx.lr.InstanceTraversal
|
+----dnx.lr.TraversalPathTraversal
|
+----dnx.lr.InstancePathTraversal
- public class InstancePathTraversal
- extends TraversalPathTraversal
A traversal which keeps track of the path to the current instance.
You can uniquify the current instance while it's being visited.
-
currentFieldInd
-
-
currentInstance
-
-
currentNodeInd
-
-
currentPath
-
-
debugVisiting
-
-
instancesAlongPath
-
-
pathRecording
-
-
InstancePathTraversal()
- Construct a traversal with a traversal type of GROUP_TRAVERSAL
and a context interest of DEFAULT_NODES.
-
InstancePathTraversal(int)
- Construct a traversal with the specified traversal type
and a geometry interest of DEFAULT_NODES.
-
InstancePathTraversal(int, int)
- Construct a traversal with the specified traversal type
and geometry interest.
-
begin(NodeInstance)
- Don't call this yourself.
-
childInstanceMapperCallback(NodeInstance, NodeInstance, int, int, Object)
- You should definitely not call this yourself.
-
uniquifyCurrentInstance()
-
instancesAlongPath
protected NodeInstanceList instancesAlongPath
currentPath
protected InstancePath currentPath
pathRecording
protected boolean pathRecording
currentInstance
protected NodeInstance currentInstance
currentFieldInd
protected int currentFieldInd
currentNodeInd
protected int currentNodeInd
debugVisiting
public static boolean debugVisiting
InstancePathTraversal
public InstancePathTraversal()
- Construct a traversal with a traversal type of GROUP_TRAVERSAL
and a context interest of DEFAULT_NODES.
InstancePathTraversal
public InstancePathTraversal(int traversalType)
- Construct a traversal with the specified traversal type
and a geometry interest of DEFAULT_NODES.
InstancePathTraversal
public InstancePathTraversal(int traversalType,
int contextInterest)
- Construct a traversal with the specified traversal type
and geometry interest.
begin
public void begin(NodeInstance inst)
- Don't call this yourself. It's called automatically.
- Overrides:
- begin in class TraversalPathTraversal
uniquifyCurrentInstance
protected NodeInstance uniquifyCurrentInstance()
childInstanceMapperCallback
public NodeInstance childInstanceMapperCallback(NodeInstance child,
NodeInstance parent,
int fieldind,
int nodeind,
Object mapData)
- You should definitely not call this yourself. Override this if
you want to change the way the traversal works.
- Overrides:
- childInstanceMapperCallback in class TraversalPathTraversal
All Packages Class Hierarchy This Package Previous Next Index