code: @Override
      public void visit(final AttributeDocument document) {
          setBaseObject(new ApiAttribute(document.getType(),
                  document.getString(), document.getTail()));
          addAttributes(document);
      }
docs: {@inheritDoc}