axel/src/main/java/fr/xgouchet/xmleditor/core/model/TreeNodeVisitor.java
private void visitNode(final @NonNull TreeNode<T> node, final int depth) throws Exception {
        onVisitNode(node, depth);

        int childrenDepth = depth + 1;
        for (TreeNode<T> child : node.getChildren()) {
            visitNode(child, childrenDepth);
        }

        onNodeVisited(node, depth);
    }
/**
     * Visit a node recursively
     *
     * @param node  the node visited
     * @param depth the depth of the given node
     */
Visit a node recursively
@param node  the node visited
@param depth the depth of the given node
Visit a node recursively @param node the node visited @param depth the depth of the given node
private void visitNode(final @NonNull TreeNode<T> node, final int depth) throws Exception {
        onVisitNode(node, depth);
        int childrenDepth = depth + 1;
        for (TreeNode<T> child : node.getChildren()) {
            visitNode(child, childrenDepth);
        }
        onNodeVisited(node, depth);
    }
private void visitNode ( final @ NonNull TreeNode < T > node , final int depth ) throws Exception { onVisitNode ( node , depth ) ; int childrenDepth = depth + 1 ; for ( TreeNode < T > child : node . getChildren ( ) ) { visitNode ( child , childrenDepth ) ; } onNodeVisited ( node , depth ) ; }
Visit a node recursively
 @param node  the node visited
 @param depth the depth of the given node
Visit a node recursively @param node the node visited @param depth the depth of the given node