ca.quine.jcommons.transform.graph
Interface INodeApplicator


public interface INodeApplicator

See the following references for the original source that this file is based on.

apply(Map map, int traversal, INodeApplicator applicator)

apply(Node parentNode, Node node, int traversal, INodeApplicator applicator)


Field Summary
static int SEARCH_CONTINUE
          Continue applying nodes (possible return value of apply methods)
static int SEARCH_STOP
          Don't apply any more nodes (possible return value of apply methods)
static int SEARCH_TRIM
          Don't apply any nodes underneath the current node (possible return value of apply methods)
 
Method Summary
 int apply(TransformNode parentNode, TransformNode node)
          Apply the parent node and child node of every edge in the requested traversal order (see SearchUtils.apply(TransformNode, int, INodeApplicator) and SearchUtils.apply(TransformNode, TransformNode, int, INodeApplicator)).
 

Field Detail

SEARCH_CONTINUE

public static final int SEARCH_CONTINUE
Continue applying nodes (possible return value of apply methods)

See Also:
Constant Field Values

SEARCH_TRIM

public static final int SEARCH_TRIM
Don't apply any nodes underneath the current node (possible return value of apply methods)

See Also:
Constant Field Values

SEARCH_STOP

public static final int SEARCH_STOP
Don't apply any more nodes (possible return value of apply methods)

See Also:
Constant Field Values
Method Detail

apply

public int apply(TransformNode parentNode,
                 TransformNode node)
Apply the parent node and child node of every edge in the requested traversal order (see SearchUtils.apply(TransformNode, int, INodeApplicator) and SearchUtils.apply(TransformNode, TransformNode, int, INodeApplicator)).

Parameters:
parentNode -
node -
Returns:
SEARCH_CONTINUE, SEARCH_STOP, or SEARCH_TRIM