void handleCoverage(CoverageInfo ci) throws Exception { start("wcs:Coverage"); element("ows:Title", ci.getLabel()); element("ows:Abstract", ci.getDescription()); element("ows:Identifier", ci.getName()); final AttributesImpl attributes = new AttributesImpl(); attributes.addAttribute("", "xlink:href", "xlink:href", "", coverageLocation); element("ows:Reference", "", attributes); end("wcs:Coverage"); }
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"); }
void handleCoverageDescription(CoverageInfo ci) throws Exception { start("wcs:CoverageDescription"); element("ows:Title", ci.getLabel()); element("ows:Abstract", ci.getDescription()); handleKeywords(ci.getKeywords()); element("wcs:Identifier", ci.getName()); handleMetadataLink(ci.getMetadataLink(), "simple"); handleDomain(ci); handleRange(ci); handleSupportedCRSs(ci); handleSupportedFormats(ci); end("wcs:CoverageDescription"); }
private void handleCoverageOfferingBrief(WCS config, CoverageInfo cv) { if (cv.isEnabled()) { start("CoverageOfferingBrief"); String tmp; handleMetadataLink(cv.getMetadataLink()); tmp = cv.getDescription(); if ((tmp != null) && (tmp != "")) { element("description", tmp); } tmp = cv.getName(); if ((tmp != null) && (tmp != "")) { element("name", tmp); } tmp = cv.getLabel(); if ((tmp != null) && (tmp != "")) { element("label", tmp); } handleEnvelope(cv.getWGS84LonLatEnvelope()); handleKeywords(cv.getKeywords()); end("CoverageOfferingBrief"); } } }
element("Title", coverage.getLabel()); element("Abstract", coverage.getDescription());