start("ows:ServiceContact"); elementIfNotEmpty("ows:IndividualName", gs.getContactPerson()); elementIfNotEmpty("ows:PositionName", gs.getContactPosition()); elementIfNotEmpty("ows:Voice", gs.getContactVoice()); elementIfNotEmpty("ows:Facsimile", gs.getContactFacsimile()); end("ows:Phone"); start("ows:Address"); elementIfNotEmpty("ows:DeliveryPoint", gs.getAddress()); elementIfNotEmpty("ows:City", gs.getAddressCity()); elementIfNotEmpty("ows:AdministrativeArea", gs.getAddressState()); elementIfNotEmpty("ows:PostalCode", gs.getAddressPostalCode()); elementIfNotEmpty("ows:Country", gs.getAddressCountry()); elementIfNotEmpty("ows:ElectronicMailAddress", gs.getContactEmail()); end("ows:Address");
elementIfNotEmpty("ows:IndividualName", contact.getContactPerson()); elementIfNotEmpty("ows:PositionName", contact.getContactPosition()); elementIfNotEmpty("ows:Voice", contact.getContactVoice()); elementIfNotEmpty("ows:Facsimile", contact.getContactFacsimile()); end("ows:Phone"); start("ows:Address"); elementIfNotEmpty("ows:DeliveryPoint", contact.getAddress()); elementIfNotEmpty("ows:City", contact.getAddressCity()); elementIfNotEmpty("ows:AdministrativeArea", contact.getAddressState()); elementIfNotEmpty("ows:PostalCode", contact.getAddressPostalCode()); elementIfNotEmpty("ows:Country", contact.getAddressCountry()); elementIfNotEmpty("ows:ElectronicMailAddress", contact.getContactEmail()); end("ows:Address");
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"); }
protected void handleCoverageSummary(CoverageInfo cv) { start("wcs:CoverageSummary"); elementIfNotEmpty("ows:Title", cv.getTitle()); elementIfNotEmpty("ows:Abstract", cv.getDescription()); handleKeywords(cv.getKeywords()); handleMetadataLinks(cv.getMetadataLinks(), "simple"); handleEnvelope(cv.getLatLonBoundingBox()); element("wcs:Identifier", cv.prefixedName()); end("wcs:CoverageSummary"); }