code: @Override
      public void visit(final Attribute attribute) {
          if (type.isEmpty() || type.equals(attribute.getString())) {
              for (final GedObject gedObject : attribute.getAttributes()) {
                  gedObject.accept(this);
                  if (!dateString.isEmpty()) {
                      break;
                  }
              }
          }
      }
docs: Visit an Attribute. We will look at the attributes of this Attribute
  for Dates. Once one is found, quit.
  
  @see GedObjectVisitor#visit(Attribute)