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