public WCSInfo load(LegacyServicesReader reader, GeoServer gs) throws Exception { WCSInfoImpl wcs = new WCSInfoImpl(); wcs.setId("wcs"); Map<String, Object> map = reader.wcs(); readCommon(wcs, map, gs); // wcs.setGMLPrefixing((Boolean)map.get( "gmlPrefixing")); wcs.getVersions().add(new Version("1.0.0")); wcs.getVersions().add(new Version("1.1.1")); return wcs; }
public ServiceInfo load(LegacyServicesReader reader, GeoServer gs) throws Exception { WCSInfoImpl wcs = new WCSInfoImpl(); wcs.setId( getServiceId() ); Map<String,Object> map = reader.wcs(); readCommon( wcs, map, gs ); //wcs.setGMLPrefixing((Boolean)map.get( "gmlPrefixing")); return wcs; }