code: @Override
      public void visit(final Root root) {
          final Map<String, GedObject> objectMap = root.getObjects();
          final Collection<GedObject> objects = objectMap.values();
          for (final GedObject gob : objects) {
              gob.accept(this);
          }
      }
docs: Visit the Root. From here we will look through the top level objects for
  Persons.
  
  @see GedObjectVisitor#visit(Root)