Class: OAI::Provider::Metadata::RIFCS

Inherits:
Format
  • Object
show all
Defined in:
lib/rifcs_format.rb

Instance Method Summary collapse

Constructor Details

#initializeRIFCS

Returns a new instance of RIFCS.



5
6
7
8
9
10
# File 'lib/rifcs_format.rb', line 5

def initialize
  @prefix = 'rif'
  @schema = 'http://services.ands.org.au/documentation/rifcs/1.3/schema/registryObjects.xsd'
  @namespace = 'http://ands.org.au/standards/rif-cs/registryObjects'
  @element_namespace = 'rif-cs'
end

Instance Method Details

#header_specificationObject



12
13
14
15
16
17
18
# File 'lib/rifcs_format.rb', line 12

def header_specification
  {
    'xmlns' => "http://ands.org.au/standards/rif-cs/registryObjects" ,
    'xmlns:xsi' => "http://www.w3.org/2001/XMLSchema-instance" ,
    'xsi:schemaLocation' => "http://ands.org.au/standards/rif-cs/registryObjects http://services.ands.org.au/documentation/rifcs/1.3/schema/registryObjects.xsd"
  }
end