legacy/src/main/java/thredds/catalog/InvCatalogFactory.java
public void writeXML(InvCatalogImpl catalog, OutputStream os, boolean raw) throws IOException {
    InvCatalogConvertIF converter = this.getCatalogConverter(XMLEntityResolver.CATALOG_NAMESPACE_10);
    converter.writeXML(catalog, os, raw);
  }
public void writeXML(InvCatalogImpl catalog, OutputStream os, boolean raw) throws IOException {
    InvCatalogConvertIF converter = this.getCatalogConverter(XMLEntityResolver.CATALOG_NAMESPACE_10);
    converter.writeXML(catalog, os, raw);
  }
public void writeXML ( InvCatalogImpl catalog , OutputStream os , boolean raw ) throws IOException { InvCatalogConvertIF converter = this . getCatalogConverter ( XMLEntityResolver . CATALOG_NAMESPACE_10 ) ; converter . writeXML ( catalog , os , raw ) ; }
Write the InvCatalogImpl to the OutputStream as a InvCatalog 1.0 document.

@param catalog - the catalog to be written
@param os      - the OutputStream to write to
@param raw  if true, write raw, vs converted
@throws IOException           when the OutputStream can't be written
@throws IllegalStateException when the factory doesn't know how to write a 1.0 document.
Write the InvCatalogImpl to the OutputStream as a InvCatalog 1 . 0 document .