code: public void write(Workspace workspace, Writer writer) {
          if (workspace != null && writer != null) {
              for (DynamicView view : workspace.getViews().getDynamicViews()) {
                  write(view, writer);
              }
          }
      }
docs: Writes the dynamic views in the given workspace as WebSequenceDiagrams definitions, to the specified writer.
  
  @param workspace     the workspace containing the views to be written
  @param writer        the Writer to write to