private void processNode ( final Node node ) { processNode ( node . getPath ( ) , node ) ; Set < Node > children = node . getChildren ( ) ; for ( Node child : children ) { processNode ( child ) ; } }
Recursive call to process all the node hierarchy