code: public void visit(NodeData node) throws RepositoryException
     {
        try
        {
           entering(node, currentLevel);
           if (maxLevel == INFINITE_DEPTH || currentLevel < maxLevel)
           {
              currentLevel++;
  
              visitChildProperties(node);
              visitChildNodes(node);
  
              currentLevel--;
           }
           leaving(node, currentLevel);
        }
        catch (RepositoryException re)
        {
           currentLevel = 0;
           throw re;
        }
     }
docs: {@inheritDoc}