Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.instance.helper
Class BreadthFirstInstanceTraverser

java.lang.Object
  extended by eu.esdihumboldt.hale.common.instance.helper.BreadthFirstInstanceTraverser
All Implemented Interfaces:
InstanceTraverser

Deprecated. This is not breath first!

@Deprecated
public class BreadthFirstInstanceTraverser
extends Object
implements InstanceTraverser

Instance traverser that traverses the model breadth first.

Author:
Simon Templer

Constructor Summary
BreadthFirstInstanceTraverser()
          Deprecated.  
 
Method Summary
 boolean traverse(Group group, InstanceTraversalCallback callback)
          Deprecated. Traverse the given group.
 boolean traverse(Instance instance, InstanceTraversalCallback callback)
          Deprecated. Traverse the given instance.
 boolean traverse(Object value, InstanceTraversalCallback callback)
          Deprecated. Traverse the given value.
protected  boolean traverseChildren(Group group, InstanceTraversalCallback callback)
          Deprecated. Traverse the children of a given group.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BreadthFirstInstanceTraverser

public BreadthFirstInstanceTraverser()
Deprecated. 
Method Detail

traverse

public boolean traverse(Instance instance,
                        InstanceTraversalCallback callback)
Deprecated. 
Description copied from interface: InstanceTraverser
Traverse the given instance.

Specified by:
traverse in interface InstanceTraverser
Parameters:
instance - the instance
callback - the traversal callback
Returns:
if traversal shall be continued, can be safely ignored if called from outside the traverser
See Also:
InstanceTraverser.traverse(Instance, InstanceTraversalCallback)

traverse

public boolean traverse(Group group,
                        InstanceTraversalCallback callback)
Deprecated. 
Description copied from interface: InstanceTraverser
Traverse the given group.

Specified by:
traverse in interface InstanceTraverser
Parameters:
group - the group
callback - the traversal callback
Returns:
if traversal shall be continued, can be safely ignored if called from outside the traverser
See Also:
InstanceTraverser.traverse(Group, InstanceTraversalCallback)

traverseChildren

protected boolean traverseChildren(Group group,
                                   InstanceTraversalCallback callback)
Deprecated. 
Traverse the children of a given group.

Parameters:
group - the group
callback - the traversal callback
Returns:
if traversal shall be continued

traverse

public boolean traverse(Object value,
                        InstanceTraversalCallback callback)
Deprecated. 
Description copied from interface: InstanceTraverser
Traverse the given value.

Specified by:
traverse in interface InstanceTraverser
Parameters:
value - the value, if a Group or Instance the call must be handed over to the respective traverse methods
callback - the traversal callback
Returns:
if traversal shall be continued, can be safely ignored if called from outside the traverser
See Also:
InstanceTraverser.traverse(Object, InstanceTraversalCallback)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d