Class: EX_GeographicDescription

Inherits:
Object
  • Object
show all
Defined in:
lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_geographicDescription.rb

Instance Method Summary collapse

Constructor Details

#initialize(xml) ⇒ EX_GeographicDescription



12
13
14
# File 'lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_geographicDescription.rb', line 12

def initialize(xml)
  @xml = xml
end

Instance Method Details

#writeXML(hElement) ⇒ Object



16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/adiwg/mdtranslator/writers/iso19115_2/classes/class_geographicDescription.rb', line 16

def writeXML(hElement)

  # classes used in MD_Metadata
  idClass = MD_Identifier.new(@xml)

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

end