extCapsProviders);
} else if (WMS.VERSION_1_3_0.equals(version)) {
Collection<GetMapOutputFormat> mapFormats = wms.getAvailableMapFormats();
Collection<ExtendedCapabilitiesProvider> extCapsProviders =
wms.getAvailableExtendedCapabilitiesProviders();
transformer = new Capabilities_1_3_0_Transformer(wms, baseUrl, mapFormats, extCapsProviders);
} else {
throw new IllegalArgumentException("Unknown version: " + version);
}
return transformer;