private void handleInterpolationMethods(CoverageInfo ci) { start("wcs:InterpolationMethods"); for (Iterator it = ci.getInterpolationMethods().iterator(); it.hasNext();) { String method = (String) it.next(); String converted = METHOD_NAME_MAP.get(method); if (converted != null) element("wcs:InterpolationMethod", converted); } elementIfNotEmpty("wcs:Default", ci.getDefaultInterpolationMethod()); end("wcs:InterpolationMethods"); }
protected void handleInterpolationMethods(CoverageInfo ci) { start("wcs:InterpolationMethods"); for (Iterator it = ci.getInterpolationMethods().iterator(); it.hasNext(); ) { String method = (String) it.next(); String converted = METHOD_NAME_MAP.get(method); if (converted != null) element("wcs:InterpolationMethod", converted); } elementIfNotEmpty("wcs:Default", ci.getDefaultInterpolationMethod()); end("wcs:InterpolationMethods"); }