code: public Map<String, OutputFormat> getOutputFormats(SqlLine sqlLine) {
      final Map<String, OutputFormat> outputFormats = new HashMap<>();
      outputFormats.put("vertical", new VerticalOutputFormat(sqlLine));
      outputFormats.put("table", new TableOutputFormat(sqlLine));
      outputFormats.put("csv", new SeparatedValuesOutputFormat(sqlLine, ","));
      outputFormats.put("tsv", new SeparatedValuesOutputFormat(sqlLine, "\t"));
      XmlAttributeOutputFormat xmlAttrs = new XmlAttributeOutputFormat(sqlLine);
      // leave "xmlattr" name for backward compatibility,
      // "xmlattrs" should be used instead
      outputFormats.put("xmlattr", xmlAttrs);
      outputFormats.put("xmlattrs", xmlAttrs);
      outputFormats.put("xmlelements", new XmlElementOutputFormat(sqlLine));
      outputFormats.put("json", new JsonOutputFormat(sqlLine));
      return Collections.unmodifiableMap(outputFormats);
    }
docs: Override this method to modify known output formats implementations.
  
  <p>If method is not overridden, current state of formats will be
  reset to default ({@code super.getOutputFormats(sqlLine)}).
  
  <p>To update / leave current state, override this method
  and use {@code sqlLine.getOutputFormats()}.
  
  <p>When overriding output formats outputformat command
  should be re-initialized unless default commands handlers are used.
  
  @param sqlLine SQLLine instance
  
  @return Map of output formats by name