code: @Override
      public final void visit(final GedDocument<? extends GedObject> document) {
          setBaseObject(new ApiObject(document.getType(),
                  document.getString()));
          addAttributes(document);
      }
docs: {@inheritDoc}