Sha256: 2f57d0dd95b87a22d02c09758a4e92168f94084ee8ef34dbf8bda7b546533425

Contents?: true

Size: 844 Bytes

Versions: 5

Compression:

Stored size: 844 Bytes

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

5 entries across 5 versions & 1 rubygems

Version Path
adiwg-mdtranslator-1.0.0 lib/adiwg/mdtranslator/writers/iso/classes/class_geographicDescription.rb
adiwg-mdtranslator-1.0.0rc4 lib/adiwg/mdtranslator/writers/iso/classes/class_geographicDescription.rb
adiwg-mdtranslator-1.0.0rc3 lib/adiwg/mdtranslator/writers/iso/classes/class_geographicDescription.rb
adiwg-mdtranslator-1.0.0rc2 lib/adiwg/mdtranslator/writers/iso/classes/class_geographicDescription.rb
adiwg-mdtranslator-1.0.0rc1 lib/adiwg/mdtranslator/writers/iso/classes/class_geographicDescription.rb