public interface BomWalker
BomChild| Modifier and Type | Method and Description |
|---|---|
void |
handleNode(BomChild node,
int level,
java.lang.Object data)
Process one component in the hierarchy.
|
boolean |
isDescend(BomChild root,
BomChild node,
int level,
java.lang.Object data)
Check whether the walk process should descend into the children of the
current component.
|
void handleNode(BomChild node, int level, java.lang.Object data)
node - The BOM entry representing the current componentlevel - The level of this component in the hierarchydata - User-specified data object to be passed along in the walkboolean isDescend(BomChild root, BomChild node, int level, java.lang.Object data)
root - The top-level root node of the hierarchynode - The BOM entry representing the current componentlevel - The level of this component in the hierarchydata - User-specified data object to be passed along in the walk