/** * Converts each metadata URL to XML. * * @param links a collection of links * @param linkType the type of links */ protected void handleMetadataLinks(List<MetadataLinkInfo> links, String linkType) { for (MetadataLinkInfo mdl : links) { if (mdl != null) { handleMetadataLink(mdl, linkType); } } }
private void handleCoverageSummary(CoverageInfo cv) { start("wcs:CoverageSummary"); elementIfNotEmpty("ows:Title", cv.getLabel()); elementIfNotEmpty("ows:Abstract", cv.getDescription()); handleKeywords(cv.getKeywords()); handleMetadataLink(cv.getMetadataLink(), "simple"); handleEnvelope(cv.getWGS84LonLatEnvelope()); element("wcs:Identifier", cv.getName()); end("wcs:CoverageSummary"); }