Sha256: 46d247ee58a8898b4c33397cbcd7d35a8c047411f80057b0bdaa5cb50f049efe

Contents?: true

Size: 1.01 KB

Versions: 4

Compression:

Stored size: 1.01 KB

Contents

# ISO <<Class>> EX_GeographicDescription
# writer output in XML

# History:
# 	Stan Smith 2013-06-03 original script
#   Stan Smith 2014-07-08 modify require statements to function in RubyGem structure
#   Stan Smith 2014-12-12 refactored to handle namespacing readers and writers

require 'class_identifier'

module ADIWG
    module Mdtranslator
        module Writers
            module Iso

                class EX_GeographicDescription

                    def initialize(xml)
                        @xml = xml
                    end

                    def writeXML(hElement)

                        # classes used
                        idClass = $IsoNS::MD_Identifier.new(@xml)

                        @xml.tag!('gmd:EX_GeographicDescription') do
                            @xml.tag!('gmd:geographicIdentifier') do
                                idClass.writeXML(hElement)
                            end
                        end

                    end

                end

            end
        end
    end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
adiwg-mdtranslator-1.2.1 lib/adiwg/mdtranslator/writers/iso/classes/class_geographicDescription.rb
adiwg-mdtranslator-1.2.0 lib/adiwg/mdtranslator/writers/iso/classes/class_geographicDescription.rb
adiwg-mdtranslator-1.1.1 lib/adiwg/mdtranslator/writers/iso/classes/class_geographicDescription.rb
adiwg-mdtranslator-1.1.0 lib/adiwg/mdtranslator/writers/iso/classes/class_geographicDescription.rb