adiwg-mdtranslator 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -7
- data/Rakefile +1 -2
- data/adiwg-mdtranslator.gemspec +23 -23
- data/bin/mdtranslator +187 -155
- data/lib/adiwg/mdtranslator.rb +63 -38
- data/lib/adiwg/mdtranslator/internal/internal_metadata_obj.rb +123 -5
- data/lib/adiwg/mdtranslator/internal/module_coordinates.rb +55 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/mdJson_reader.rb +98 -70
- data/lib/adiwg/mdtranslator/readers/mdJson/mdJson_validator.rb +13 -11
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_additionalDocumentation.rb +13 -3
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_address.rb +3 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_associatedResource.rb +22 -4
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_boundingBox.rb +3 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_browseGraphic.rb +11 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_citation.rb +28 -9
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_v1/module_classedData.rb +49 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_v1/module_classedDataItem.rb +53 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_contacts.rb +14 -12
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_v1/module_coverageInfo.rb +83 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_v1/module_coverageItem.rb +136 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_dataDictionary.rb +9 -7
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_dataQuality.rb +17 -3
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_dateTime.rb +3 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_descriptiveKeyword.rb +22 -5
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_dictionaryInfo.rb +18 -3
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_v1/module_digitalTransferOption.rb +80 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_v1/module_dimension.rb +81 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_v1/module_distributionInfo.rb +89 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_v1/module_distributionOrder.rb +62 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_domain.rb +24 -5
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_domainItem.rb +23 -4
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_entity.rb +26 -7
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_entityAttribute.rb +24 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_entityForeignKey.rb +20 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_entityIndex.rb +20 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_extent.rb +9 -7
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_geoCoordSystem.rb +3 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_geoProperties.rb +9 -7
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_geographicElement.rb +20 -18
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_v1/module_gridInfo.rb +67 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_v1/module_imageInfo.rb +119 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_legalConstraint.rb +7 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_lineString.rb +5 -4
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_lineage.rb +11 -5
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_v1/module_locale.rb +57 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_mdJson.rb +10 -9
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_v1/module_medium.rb +73 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_metadata.rb +14 -12
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_metadataExtension.rb +3 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_metadataInfo.rb +35 -15
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_onlineResource.rb +7 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_phone.rb +3 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_point.rb +5 -4
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_polygon.rb +5 -4
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_processStep.rb +19 -6
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_resolution.rb +7 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_resourceFormat.rb +12 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_resourceIdentifier.rb +30 -5
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_resourceInfo.rb +70 -33
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_resourceMaintenance.rb +5 -3
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_resourceSpecificUsage.rb +5 -3
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_responsibleParty.rb +10 -8
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_securityConstraint.rb +3 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_v1/module_sensorInfo.rb +69 -0
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_source.rb +11 -5
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_spatialReference.rb +3 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_taxonClass.rb +3 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_taxonomy.rb +11 -9
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_temporalElement.rb +9 -7
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_timeInstant.rb +5 -3
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_timePeriod.rb +6 -4
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_verticalElement.rb +3 -1
- data/lib/adiwg/mdtranslator/readers/mdJson/{modules_1.0 → modules_v1}/module_voucher.rb +5 -3
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_v1/version.rb +19 -0
- data/lib/adiwg/mdtranslator/readers/mdReaders.rb +21 -18
- data/lib/adiwg/mdtranslator/version.rb +15 -1
- data/lib/adiwg/mdtranslator/writers/html/html_writer.rb +11 -8
- data/lib/adiwg/mdtranslator/writers/html/md_html_writer.rb +21 -18
- data/lib/adiwg/mdtranslator/writers/html/sections/html_additionalDocumentation.rb +48 -0
- data/lib/adiwg/mdtranslator/writers/html/sections/html_associatedResource.rb +73 -0
- data/lib/adiwg/mdtranslator/writers/html/sections/html_body.rb +84 -135
- data/lib/adiwg/mdtranslator/writers/html/sections/html_citation.rb +18 -8
- data/lib/adiwg/mdtranslator/writers/html/sections/html_classedData.rb +50 -0
- data/lib/adiwg/mdtranslator/writers/html/sections/html_classedDataItem.rb +50 -0
- data/lib/adiwg/mdtranslator/writers/html/sections/html_contact.rb +5 -9
- data/lib/adiwg/mdtranslator/writers/html/sections/html_coverageInfo.rb +88 -0
- data/lib/adiwg/mdtranslator/writers/html/sections/html_coverageItem.rb +139 -0
- data/lib/adiwg/mdtranslator/writers/html/sections/html_dataDictionary.rb +13 -12
- data/lib/adiwg/mdtranslator/writers/html/sections/html_dataLineage.rb +5 -4
- data/lib/adiwg/mdtranslator/writers/html/sections/html_dataSource.rb +5 -4
- data/lib/adiwg/mdtranslator/writers/html/sections/html_dimension.rb +71 -0
- data/lib/adiwg/mdtranslator/writers/html/sections/html_distributor.rb +62 -0
- data/lib/adiwg/mdtranslator/writers/html/sections/html_domain.rb +3 -2
- data/lib/adiwg/mdtranslator/writers/html/sections/html_entity.rb +5 -4
- data/lib/adiwg/mdtranslator/writers/html/sections/html_extent.rb +7 -6
- data/lib/adiwg/mdtranslator/writers/html/sections/html_format.rb +7 -1
- data/lib/adiwg/mdtranslator/writers/html/sections/html_geographicElement.rb +7 -7
- data/lib/adiwg/mdtranslator/writers/html/sections/html_gridInfo.rb +65 -0
- data/lib/adiwg/mdtranslator/writers/html/sections/html_head.rb +18 -3
- data/lib/adiwg/mdtranslator/writers/html/sections/html_imageInfo.rb +120 -0
- data/lib/adiwg/mdtranslator/writers/html/sections/html_inlineCss.css +13 -20
- data/lib/adiwg/mdtranslator/writers/html/sections/html_keyword.rb +3 -2
- data/lib/adiwg/mdtranslator/writers/html/sections/html_medium.rb +19 -2
- data/lib/adiwg/mdtranslator/writers/html/sections/html_metadataInfo.rb +22 -9
- data/lib/adiwg/mdtranslator/writers/html/sections/html_orderProcess.rb +3 -2
- data/lib/adiwg/mdtranslator/writers/html/sections/html_processStep.rb +5 -4
- data/lib/adiwg/mdtranslator/writers/html/sections/html_resourceContact.rb +3 -2
- data/lib/adiwg/mdtranslator/writers/html/sections/html_resourceGeneral.rb +25 -14
- data/lib/adiwg/mdtranslator/writers/html/sections/html_resourceId.rb +30 -3
- data/lib/adiwg/mdtranslator/writers/html/sections/html_resourceInfo.rb +194 -129
- data/lib/adiwg/mdtranslator/writers/html/sections/html_resourceMaint.rb +3 -2
- data/lib/adiwg/mdtranslator/writers/html/sections/html_resourceOther.rb +7 -6
- data/lib/adiwg/mdtranslator/writers/html/sections/html_resourceUsage.rb +3 -2
- data/lib/adiwg/mdtranslator/writers/html/sections/html_responsibleParty.rb +3 -2
- data/lib/adiwg/mdtranslator/writers/html/sections/html_sensorInfo.rb +66 -0
- data/lib/adiwg/mdtranslator/writers/html/sections/html_taxonomy.rb +7 -6
- data/lib/adiwg/mdtranslator/writers/html/sections/html_temporalElement.rb +7 -6
- data/lib/adiwg/mdtranslator/writers/html/sections/html_timeInstant.rb +3 -2
- data/lib/adiwg/mdtranslator/writers/html/sections/html_timePeriod.rb +3 -2
- data/lib/adiwg/mdtranslator/writers/html/sections/html_transferOption.rb +29 -4
- data/lib/adiwg/mdtranslator/writers/html/version.rb +17 -0
- data/lib/adiwg/mdtranslator/writers/iso19110/class_FCfeatureCatalogue.rb +17 -16
- data/lib/adiwg/mdtranslator/writers/{iso → iso19110}/classes/class_address.rb +12 -8
- data/lib/adiwg/mdtranslator/writers/iso19110/classes/class_baseUnit.rb +42 -0
- data/lib/adiwg/mdtranslator/writers/{iso → iso19110}/classes/class_codelist.rb +8 -3
- data/lib/adiwg/mdtranslator/writers/{iso → iso19110}/classes/class_contact.rb +16 -25
- data/lib/adiwg/mdtranslator/writers/iso19110/classes/class_conventionalUnit.rb +68 -0
- data/lib/adiwg/mdtranslator/writers/iso19110/classes/class_definitionUnit.rb +39 -0
- data/lib/adiwg/mdtranslator/writers/iso19110/classes/class_derivedUnit.rb +46 -0
- data/lib/adiwg/mdtranslator/writers/{iso → iso19110}/classes/class_featureAttribute.rb +17 -14
- data/lib/adiwg/mdtranslator/writers/{iso → iso19110}/classes/class_featureConstraint.rb +6 -2
- data/lib/adiwg/mdtranslator/writers/{iso → iso19110}/classes/class_featureType.rb +16 -12
- data/lib/adiwg/mdtranslator/writers/{iso → iso19110}/classes/class_listedValue.rb +9 -18
- data/lib/adiwg/mdtranslator/writers/{iso → iso19110}/classes/class_multiplicity.rb +8 -4
- data/lib/adiwg/mdtranslator/writers/{iso → iso19110}/classes/class_onlineResource.rb +13 -9
- data/lib/adiwg/mdtranslator/writers/{iso → iso19110}/classes/class_responsibleParty.rb +16 -12
- data/lib/adiwg/mdtranslator/writers/{iso → iso19110}/classes/class_telephone.rb +9 -5
- data/lib/adiwg/mdtranslator/writers/iso19110/classes/class_unitsOfMeasure.rb +262 -0
- data/lib/adiwg/mdtranslator/writers/iso19110/iso19110_writer.rb +36 -16
- data/lib/adiwg/mdtranslator/writers/iso19110/version.rb +14 -0
- data/lib/adiwg/mdtranslator/writers/iso19115_2/class_MImetadata.rb +73 -37
- data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_address.rb +116 -0
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_aggregateInformation.rb +13 -9
- data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_band.rb +165 -0
- data/lib/adiwg/mdtranslator/writers/{iso/units → iso19115_2/classes}/class_baseUnit.rb +6 -6
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_boundingPolygon.rb +14 -10
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_browseGraphic.rb +9 -5
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_citation.rb +31 -16
- data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_codelist.rb +56 -0
- data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_contact.rb +87 -0
- data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_contentInfo.rb +111 -0
- data/lib/adiwg/mdtranslator/writers/{iso/units → iso19115_2/classes}/class_conventionalUnit.rb +6 -6
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_dataIdentification.rb +106 -59
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_dataQuality.rb +11 -7
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_date.rb +8 -5
- data/lib/adiwg/mdtranslator/writers/{iso/units → iso19115_2/classes}/class_definitionUnit.rb +7 -7
- data/lib/adiwg/mdtranslator/writers/{iso/units → iso19115_2/classes}/class_derivedUnit.rb +6 -6
- data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_digitalTransferOptions.rb +92 -0
- data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_dimension.rb +68 -0
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_distribution.rb +8 -4
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_distributor.rb +44 -22
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_enumerationList.rb +7 -2
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_extent.rb +18 -14
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_format.rb +18 -2
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_geographicBoundingBox.rb +6 -2
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_geographicDescription.rb +8 -4
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_geographicElement.rb +10 -6
- data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_gridInfo.rb +80 -0
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_identifier.rb +10 -6
- data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_imageDescription.rb +157 -0
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_keyword.rb +12 -8
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_legalConstraints.rb +12 -8
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_lineString.rb +13 -10
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_lineage.rb +14 -10
- data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_locale.rb +67 -0
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_maintenanceInformation.rb +12 -8
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_medium.rb +30 -9
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_metadataExtension.rb +19 -15
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_multiGeometry.rb +22 -17
- data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_onlineResource.rb +94 -0
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_point.rb +12 -9
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_polygon.rb +14 -11
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_processStep.rb +12 -9
- data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_rangeElementDescription.rb +88 -0
- data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_referenceSystem.rb +52 -0
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_resolution.rb +6 -2
- data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_resourceIdentifier.rb +94 -0
- data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_responsibleParty.rb +106 -0
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_securityConstraints.rb +12 -8
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_source.rb +12 -8
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_standardOrderProcess.rb +11 -9
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_taxonClassification.rb +8 -4
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_taxonSystem.rb +18 -14
- data/lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_telephone.rb +92 -0
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_temporalExtent.rb +10 -6
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_timeInstant.rb +9 -8
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_timePeriod.rb +10 -8
- data/lib/adiwg/mdtranslator/writers/{iso/units → iso19115_2/classes}/class_unitsOfMeasure.rb +48 -25
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_usage.rb +11 -7
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_useConstraints.rb +6 -2
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_verticalExtent.rb +6 -2
- data/lib/adiwg/mdtranslator/writers/{iso → iso19115_2}/classes/class_vouchers.rb +8 -4
- data/lib/adiwg/mdtranslator/writers/iso19115_2/iso19115_2_writer.rb +32 -19
- data/lib/adiwg/mdtranslator/writers/iso19115_2/version.rb +17 -0
- data/lib/adiwg/mdtranslator/writers/mdWriters.rb +21 -24
- data/test/readers/mdJson/v1/tc_reader_mdjson_additionalDocumentation.rb +116 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_address.rb +111 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_associatedResource.rb +157 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_browseGraphic.rb +119 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_citation.rb +143 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_contact.rb +138 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_dataQuality.rb +111 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_dateTime.rb +159 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_descriptiveKeyword.rb +115 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_dictionaryInfo.rb +121 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_digitalTransferOption.rb +94 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_distributionOrder.rb +103 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_domain.rb +130 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_domainItem.rb +98 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_entity.rb +134 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_entityAttribute.rb +154 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_entityForeignKey.rb +100 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_entityIndex.rb +99 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_legalConstraint.rb +104 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_lineage.rb +117 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_medium.rb +98 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_metadataInfo.rb +141 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_onlineResource.rb +110 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_phone.rb +112 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_processStep.rb +118 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_resolution.rb +77 -0
- data/test/readers/mdJson/v1/tc_reader_mdjson_source.rb +117 -0
- data/test/readers/mdJson/v1/tc_translation_19110.rb +57 -0
- data/test/readers/mdJson/{v1_0/tc_translation.rb → v1/tc_translation_19115_2.rb} +16 -31
- data/test/writers/iso19115_2/tc_writer_iso19115_2_address.rb +22 -15
- metadata +219 -140
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_1.0/module_coordinates.rb +0 -63
- data/lib/adiwg/mdtranslator/readers/mdJson/modules_1.0/module_distributionInfo.rb +0 -161
- data/lib/adiwg/mdtranslator/writers/html/sections/logo150.txt +0 -25
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_digitalTransferOptions.rb +0 -62
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_genericMetaData.rb +0 -74
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_referenceIdentifier.rb +0 -53
- data/lib/adiwg/mdtranslator/writers/iso/classes/class_referenceSystem.rb +0 -40
- data/test/readers/mdJson/v1_0/tc_reader_mdjson_additionalDocumentation.rb +0 -85
- data/test/readers/mdJson/v1_0/tc_reader_mdjson_address.rb +0 -100
- data/test/readers/mdJson/v1_0/tc_reader_mdjson_associatedResource.rb +0 -101
- data/test/readers/mdJson/v1_0/tc_reader_mdjson_browseGraphic.rb +0 -86
- data/test/readers/mdJson/v1_0/tc_reader_mdjson_citation.rb +0 -116
- data/test/readers/mdJson/v1_0/tc_reader_mdjson_contact.rb +0 -138
- data/test/readers/mdJson/v1_0/tc_reader_mdjson_dictionaryInfo.rb +0 -95
- data/test/readers/mdJson/v1_0/tc_reader_mdjson_domain.rb +0 -99
- data/test/readers/mdJson/v1_0/tc_reader_mdjson_onlineResource.rb +0 -92
- data/test/readers/mdJson/v1_0/tc_reader_mdjson_phone.rb +0 -110
@@ -7,26 +7,30 @@
|
|
7
7
|
# Stan Smith 2014-12-12 refactored to handle namespacing readers and writers
|
8
8
|
# Stan Smith 2014-12-12 refactored to handle namespacing readers and writers
|
9
9
|
# Stan Smith 2015-06-11 change all codelists to use 'class_codelist' method
|
10
|
+
# Stan Smith 2015-06-22 replace global ($response) with passed in object (responseObj)
|
11
|
+
# Stan Smith 2015-07-14 refactored to make iso19110 independent of iso19115_2 classes
|
12
|
+
# Stan Smith 2015-07-14 refactored to eliminate namespace globals $WriterNS and $IsoNS
|
10
13
|
|
11
|
-
|
12
|
-
|
14
|
+
require_relative 'class_codelist'
|
15
|
+
require_relative 'class_lineage'
|
13
16
|
|
14
17
|
module ADIWG
|
15
18
|
module Mdtranslator
|
16
19
|
module Writers
|
17
|
-
module
|
20
|
+
module Iso19115_2
|
18
21
|
|
19
22
|
class DQ_DataQuality
|
20
23
|
|
21
|
-
def initialize(xml)
|
24
|
+
def initialize(xml, responseObj)
|
22
25
|
@xml = xml
|
26
|
+
@responseObj = responseObj
|
23
27
|
end
|
24
28
|
|
25
29
|
def writeXML(hDataQ)
|
26
30
|
|
27
31
|
# classes used
|
28
|
-
codelistClass =
|
29
|
-
lineClass =
|
32
|
+
codelistClass = MD_Codelist.new(@xml, @responseObj)
|
33
|
+
lineClass = LI_Lineage.new(@xml, @responseObj)
|
30
34
|
|
31
35
|
@xml.tag!('gmd:DQ_DataQuality') do
|
32
36
|
|
@@ -52,7 +56,7 @@ module ADIWG
|
|
52
56
|
@xml.tag!('gmd:lineage') do
|
53
57
|
lineClass.writeXML(hLineage)
|
54
58
|
end
|
55
|
-
elsif
|
59
|
+
elsif @responseObj[:writerShowTags]
|
56
60
|
@xml.tag!('gmd:lineage')
|
57
61
|
end
|
58
62
|
|
@@ -7,25 +7,28 @@
|
|
7
7
|
# Stan Smith 2014-07-08 modify require statements to function in RubyGem structure
|
8
8
|
# Stan Smith 2014-12-12 refactored to handle namespacing readers and writers
|
9
9
|
# Stan Smith 2015-06-11 change all codelists to use 'class_codelist' method
|
10
|
+
# Stan Smith 2015-06-22 replace global ($response) with passed in object (responseObj)
|
11
|
+
# Stan Smith 2015-07-14 refactored to make iso19110 independent of iso19115_2 classes
|
12
|
+
# Stan Smith 2015-07-14 refactored to eliminate namespace globals $WriterNS and $IsoNS
|
10
13
|
|
11
|
-
|
12
|
-
require 'module_dateTimeFun'
|
14
|
+
require_relative 'class_codelist'
|
13
15
|
|
14
16
|
module ADIWG
|
15
17
|
module Mdtranslator
|
16
18
|
module Writers
|
17
|
-
module
|
19
|
+
module Iso19115_2
|
18
20
|
|
19
21
|
class CI_Date
|
20
22
|
|
21
|
-
def initialize(xml)
|
23
|
+
def initialize(xml, responseObj)
|
22
24
|
@xml = xml
|
25
|
+
@responseObj = responseObj
|
23
26
|
end
|
24
27
|
|
25
28
|
def writeXML(hDate)
|
26
29
|
|
27
30
|
# classes used
|
28
|
-
codelistClass =
|
31
|
+
codelistClass = MD_Codelist.new(@xml, @responseObj)
|
29
32
|
|
30
33
|
citDateTime = hDate[:dateTime]
|
31
34
|
citDateRes = hDate[:dateResolution]
|
data/lib/adiwg/mdtranslator/writers/{iso/units → iso19115_2/classes}/class_definitionUnit.rb
RENAMED
@@ -2,25 +2,25 @@
|
|
2
2
|
# writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
|
-
# Stan Smith
|
6
|
-
# Stan Smith 2014-12-12 refactored to handle namespacing readers and writers
|
5
|
+
# Stan Smith 2015-08-27 copied from 19110 writer
|
7
6
|
|
8
7
|
module ADIWG
|
9
8
|
module Mdtranslator
|
10
9
|
module Writers
|
11
|
-
module
|
10
|
+
module Iso19115_2
|
12
11
|
|
13
12
|
class UnitDefinition
|
14
13
|
|
15
|
-
def initialize(xml)
|
14
|
+
def initialize(xml, responseObj)
|
16
15
|
@xml = xml
|
16
|
+
@responseObj = responseObj
|
17
17
|
end
|
18
18
|
|
19
19
|
def writeXML(unit)
|
20
20
|
|
21
|
-
# create
|
22
|
-
|
23
|
-
unitID = 'unit' +
|
21
|
+
# create an identity for the unit
|
22
|
+
@responseObj[:writerMissingIdCount] = @responseObj[:writerMissingIdCount].succ
|
23
|
+
unitID = 'unit' + @responseObj[:writerMissingIdCount]
|
24
24
|
@xml.tag!('gml:UnitDefinition', {'gml:id' => unitID}) do
|
25
25
|
@xml.tag!('gml:identifier', {'codeSpace' => ''}, unit)
|
26
26
|
end
|
@@ -2,25 +2,25 @@
|
|
2
2
|
# writer output in XML
|
3
3
|
|
4
4
|
# History:
|
5
|
-
# Stan Smith
|
6
|
-
# Stan Smith 2014-12-12 refactored to handle namespacing readers and writers
|
5
|
+
# Stan Smith 2015-08-27 copied from 19110 writer
|
7
6
|
|
8
7
|
module ADIWG
|
9
8
|
module Mdtranslator
|
10
9
|
module Writers
|
11
|
-
module
|
10
|
+
module Iso19115_2
|
12
11
|
|
13
12
|
class DerivedUnit
|
14
13
|
|
15
|
-
def initialize(xml)
|
14
|
+
def initialize(xml, responseObj)
|
16
15
|
@xml = xml
|
16
|
+
@responseObj = responseObj
|
17
17
|
end
|
18
18
|
|
19
19
|
def writeXML(hDerived)
|
20
20
|
|
21
21
|
# create and identity for the unit
|
22
|
-
|
23
|
-
unitID = 'unit' +
|
22
|
+
@responseObj[:writerMissingIdCount] = @responseObj[:writerMissingIdCount].succ
|
23
|
+
unitID = 'unit' + @responseObj[:writerMissingIdCount]
|
24
24
|
@xml.tag!('gml:DerivedUnit', {'gml:id' => unitID}) do
|
25
25
|
@xml.tag!('gml:identifier', {'codeSpace' => hDerived[:codeSpace]}, hDerived[:identifier])
|
26
26
|
@xml.tag!('gml:name', hDerived[:name])
|
@@ -0,0 +1,92 @@
|
|
1
|
+
# ISO <<Class>> MD_DigitalTransferOptions
|
2
|
+
# writer output in XML
|
3
|
+
|
4
|
+
# History:
|
5
|
+
# Stan Smith 2013-09-26 original script
|
6
|
+
# Stan Smith 2014-07-08 modify require statements to function in RubyGem structure
|
7
|
+
# Stan Smith 2014-12-12 refactored to handle namespacing readers and writers
|
8
|
+
# Stan Smith 2015-06-22 replace global ($response) with passed in object (responseObj)
|
9
|
+
# Stan Smith 2015-07-14 refactored to make iso19110 independent of iso19115_2 classes
|
10
|
+
# Stan Smith 2015-07-14 refactored to eliminate namespace globals $WriterNS and $IsoNS
|
11
|
+
# Stan Smith 2015-09-21 added transfer size
|
12
|
+
|
13
|
+
require_relative 'class_onlineResource'
|
14
|
+
require_relative 'class_medium'
|
15
|
+
|
16
|
+
module ADIWG
|
17
|
+
module Mdtranslator
|
18
|
+
module Writers
|
19
|
+
module Iso19115_2
|
20
|
+
|
21
|
+
class MD_DigitalTransferOptions
|
22
|
+
|
23
|
+
def initialize(xml, responseObj)
|
24
|
+
@xml = xml
|
25
|
+
@responseObj = responseObj
|
26
|
+
end
|
27
|
+
|
28
|
+
def writeXML(transOption)
|
29
|
+
|
30
|
+
# classes used
|
31
|
+
olResClass = CI_OnlineResource.new(@xml, @responseObj)
|
32
|
+
medClass = MD_Medium.new(@xml, @responseObj)
|
33
|
+
|
34
|
+
@xml.tag!('gmd:MD_DigitalTransferOptions') do
|
35
|
+
|
36
|
+
# digital transfer options - transfer size / units
|
37
|
+
s = transOption[:transferSize]
|
38
|
+
if !s.nil?
|
39
|
+
su = transOption[:transferSizeUnits]
|
40
|
+
if !su.nil?
|
41
|
+
case su
|
42
|
+
when 'kB'
|
43
|
+
s = s / 1024
|
44
|
+
when 'KB'
|
45
|
+
s = s / 1000
|
46
|
+
when 'GB'
|
47
|
+
s = s * 1000.0
|
48
|
+
when 'TB'
|
49
|
+
s = s * 1000000.0
|
50
|
+
else
|
51
|
+
# MB assumed otherwise
|
52
|
+
end
|
53
|
+
end
|
54
|
+
@xml.tag!('gmd:transferSize') do
|
55
|
+
@xml.tag!('gco:Real', s.to_s)
|
56
|
+
end
|
57
|
+
elsif @responseObj[:writerShowTags]
|
58
|
+
@xml.tag!('gmd:transferSize')
|
59
|
+
end
|
60
|
+
|
61
|
+
# digital transfer options - online [] - CI_OnlineResource
|
62
|
+
aOnTranOpts = transOption[:online]
|
63
|
+
if !aOnTranOpts.empty?
|
64
|
+
aOnTranOpts.each do |olTranOpt|
|
65
|
+
@xml.tag!('gmd:onLine') do
|
66
|
+
olResClass.writeXML(olTranOpt)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
elsif @responseObj[:writerShowTags]
|
70
|
+
@xml.tag!('gmd:onLine')
|
71
|
+
end
|
72
|
+
|
73
|
+
# digital transfer options - offline - MD_Medium
|
74
|
+
hOffTranOpt = transOption[:offline]
|
75
|
+
if !hOffTranOpt.empty?
|
76
|
+
@xml.tag!('gmd:offLine') do
|
77
|
+
medClass.writeXML(hOffTranOpt)
|
78
|
+
end
|
79
|
+
elsif @responseObj[:writerShowTags]
|
80
|
+
@xml.tag!('gmd:offLine')
|
81
|
+
end
|
82
|
+
|
83
|
+
end
|
84
|
+
|
85
|
+
end
|
86
|
+
|
87
|
+
end
|
88
|
+
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# ISO <<Class>> MD_Dimension
|
2
|
+
# writer output in XML
|
3
|
+
|
4
|
+
# History:
|
5
|
+
# Stan Smith 2015-07-30 original script.
|
6
|
+
|
7
|
+
require_relative 'class_codelist'
|
8
|
+
|
9
|
+
module ADIWG
|
10
|
+
module Mdtranslator
|
11
|
+
module Writers
|
12
|
+
module Iso19115_2
|
13
|
+
|
14
|
+
class MD_Dimension
|
15
|
+
|
16
|
+
def initialize(xml, responseObj)
|
17
|
+
@xml = xml
|
18
|
+
@responseObj = responseObj
|
19
|
+
end
|
20
|
+
|
21
|
+
def writeXML(hDim)
|
22
|
+
|
23
|
+
# classes used
|
24
|
+
codelistClass = MD_Codelist.new(@xml, @responseObj)
|
25
|
+
|
26
|
+
@xml.tag!('gmd:MD_Dimension') do
|
27
|
+
|
28
|
+
# dimension information - dimension type code - required
|
29
|
+
s = hDim[:dimensionType]
|
30
|
+
if !s.nil?
|
31
|
+
@xml.tag!('gmd:dimensionName') do
|
32
|
+
codelistClass.writeXML('iso_dimensionNameType',s)
|
33
|
+
end
|
34
|
+
else
|
35
|
+
@xml.tag!('gmd:dimensionName', {'gco:nilReason'=>'missing'})
|
36
|
+
end
|
37
|
+
|
38
|
+
# dimension information - dimension size - required
|
39
|
+
s = hDim[:dimensionSize]
|
40
|
+
if !s.nil?
|
41
|
+
@xml.tag!('gmd:dimensionSize') do
|
42
|
+
@xml.tag!('gco:Integer',s)
|
43
|
+
end
|
44
|
+
else
|
45
|
+
@xml.tag!('gmd:dimensionSize', {'gco:nilReason'=>'missing'})
|
46
|
+
end
|
47
|
+
|
48
|
+
# dimension information - dimension resolution - required
|
49
|
+
res = hDim[:resolution]
|
50
|
+
resUnit = hDim[:resolutionUnits]
|
51
|
+
if !res.nil?
|
52
|
+
@xml.tag!('gmd:resolution') do
|
53
|
+
@xml.tag!('gco:Measure', {'uom'=>resUnit}, res)
|
54
|
+
end
|
55
|
+
else
|
56
|
+
@xml.tag!('gmd:resolution', {'gco:nilReason'=>'missing'})
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
end
|
62
|
+
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -5,24 +5,28 @@
|
|
5
5
|
# Stan Smith 2013-09-25 original script
|
6
6
|
# Stan Smith 2014-07-09 modify require statements to function in RubyGem structure
|
7
7
|
# Stan Smith 2014-12-12 refactored to handle namespacing readers and writers
|
8
|
+
# Stan Smith 2015-06-22 replace global ($response) with passed in object (responseObj)
|
9
|
+
# Stan Smith 2015-07-14 refactored to make iso19110 independent of iso19115_2 classes
|
10
|
+
# Stan Smith 2015-07-14 refactored to eliminate namespace globals $WriterNS and $IsoNS
|
8
11
|
|
9
|
-
|
12
|
+
require_relative 'class_distributor'
|
10
13
|
|
11
14
|
module ADIWG
|
12
15
|
module Mdtranslator
|
13
16
|
module Writers
|
14
|
-
module
|
17
|
+
module Iso19115_2
|
15
18
|
|
16
19
|
class MD_Distribution
|
17
20
|
|
18
|
-
def initialize(xml)
|
21
|
+
def initialize(xml, responseObj)
|
19
22
|
@xml = xml
|
23
|
+
@responseObj = responseObj
|
20
24
|
end
|
21
25
|
|
22
26
|
def writeXML(aDistributors)
|
23
27
|
|
24
28
|
# classes used
|
25
|
-
distributorClass =
|
29
|
+
distributorClass = MD_Distributor.new(@xml, @responseObj)
|
26
30
|
|
27
31
|
@xml.tag!('gmd:MD_Distribution') do
|
28
32
|
|
@@ -5,30 +5,35 @@
|
|
5
5
|
# Stan Smith 2013-09-25 original script
|
6
6
|
# Stan Smith 2014-07-09 modify require statements to function in RubyGem structure
|
7
7
|
# Stan Smith 2014-12-12 refactored to handle namespacing readers and writers
|
8
|
+
# Stan Smith 2015-06-22 replace global ($response) with passed in object (responseObj)
|
9
|
+
# Stan Smith 2015-07-14 refactored to make iso19110 independent of iso19115_2 classes
|
10
|
+
# Stan Smith 2015-07-14 refactored to eliminate namespace globals $WriterNS and $IsoNS
|
11
|
+
# Stan Smith 2015-09-21 added format from distributorTransferOptions
|
8
12
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
+
require_relative 'class_responsibleParty'
|
14
|
+
require_relative 'class_standardOrderProcess'
|
15
|
+
require_relative 'class_format'
|
16
|
+
require_relative 'class_digitalTransferOptions'
|
13
17
|
|
14
18
|
module ADIWG
|
15
19
|
module Mdtranslator
|
16
20
|
module Writers
|
17
|
-
module
|
21
|
+
module Iso19115_2
|
18
22
|
|
19
23
|
class MD_Distributor
|
20
24
|
|
21
|
-
def initialize(xml)
|
25
|
+
def initialize(xml, responseObj)
|
22
26
|
@xml = xml
|
27
|
+
@responseObj = responseObj
|
23
28
|
end
|
24
29
|
|
25
30
|
def writeXML(distributor)
|
26
31
|
|
27
32
|
# classes used
|
28
|
-
rPartyClass =
|
29
|
-
sOrderProcClass =
|
30
|
-
rFormatClass =
|
31
|
-
dTranOptClass =
|
33
|
+
rPartyClass = CI_ResponsibleParty.new(@xml, @responseObj)
|
34
|
+
sOrderProcClass = MD_StandardOrderProcess.new(@xml, @responseObj)
|
35
|
+
rFormatClass = MD_Format.new(@xml, @responseObj)
|
36
|
+
dTranOptClass = MD_DigitalTransferOptions.new(@xml, @responseObj)
|
32
37
|
|
33
38
|
@xml.tag!('gmd:MD_Distributor') do
|
34
39
|
|
@@ -43,42 +48,59 @@ module ADIWG
|
|
43
48
|
end
|
44
49
|
|
45
50
|
# distributor - distribution order process []
|
46
|
-
aDistOrderProc = distributor[:
|
51
|
+
aDistOrderProc = distributor[:distOrderProcs]
|
47
52
|
if !aDistOrderProc.empty?
|
48
53
|
aDistOrderProc.each do |distOrder|
|
49
54
|
@xml.tag!('gmd:distributionOrderProcess') do
|
50
55
|
sOrderProcClass.writeXML(distOrder)
|
51
56
|
end
|
52
57
|
end
|
53
|
-
elsif
|
58
|
+
elsif @responseObj[:writerShowTags]
|
54
59
|
@xml.tag!('gmd:distributionOrderProcess')
|
55
60
|
end
|
56
61
|
|
57
|
-
# distributor - distributor format []
|
58
|
-
|
62
|
+
# distributor - distributor format [] - deprecated
|
63
|
+
# ... remove mdJson version 2.x
|
64
|
+
# ... formats associated with a distributor
|
65
|
+
aDistFormats = distributor[:distFormats]
|
59
66
|
if !aDistFormats.empty?
|
60
|
-
aDistFormats.each do |
|
67
|
+
aDistFormats.each do |hFormat|
|
61
68
|
@xml.tag!('gmd:distributorFormat') do
|
62
|
-
rFormatClass.writeXML(
|
69
|
+
rFormatClass.writeXML(hFormat)
|
63
70
|
end
|
64
71
|
end
|
65
|
-
elsif
|
72
|
+
elsif @responseObj[:writerShowTags]
|
66
73
|
@xml.tag!('gmd:distributorFormat')
|
67
74
|
end
|
68
75
|
|
76
|
+
# distributor - distributor format [] -
|
77
|
+
# ... formats associated with a distributor transfer options
|
78
|
+
aDistTransOpts = distributor[:distTransOptions]
|
79
|
+
if !aDistTransOpts.empty?
|
80
|
+
aDistTransOpts.each do |hTransOpt|
|
81
|
+
aDistFormats = hTransOpt[:distFormats]
|
82
|
+
if !aDistFormats.empty?
|
83
|
+
aDistFormats.each do |hFormat|
|
84
|
+
@xml.tag!('gmd:distributorFormat') do
|
85
|
+
rFormatClass.writeXML(hFormat)
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
69
92
|
# distributor - distributor transfer options []
|
70
|
-
aDistTransOpts = distributor[:
|
93
|
+
aDistTransOpts = distributor[:distTransOptions]
|
71
94
|
if !aDistTransOpts.empty?
|
72
|
-
aDistTransOpts.each do |
|
95
|
+
aDistTransOpts.each do |hTransOpt|
|
73
96
|
@xml.tag!('gmd:distributorTransferOptions') do
|
74
|
-
dTranOptClass.writeXML(
|
97
|
+
dTranOptClass.writeXML(hTransOpt)
|
75
98
|
end
|
76
99
|
end
|
77
|
-
elsif
|
100
|
+
elsif @responseObj[:writerShowTags]
|
78
101
|
@xml.tag!('gmd:distributorTransferOptions')
|
79
102
|
end
|
80
103
|
|
81
|
-
|
82
104
|
end
|
83
105
|
|
84
106
|
end
|