Class: Krikri::OaiDcParser

Inherits:
XmlParser show all
Defined in:
lib/krikri/parsers/oai_dc_parser.rb

Overview

An OAI DC parser. Uses XML parser with a root path to match the metadata path as harvested from OAI-PMH.

See Also:

Instance Attribute Summary

Attributes inherited from Parser

#record, #root

Instance Method Summary collapse

Methods inherited from Parser

parse

Constructor Details

#initialize(record, root_path = '//oai_dc:dc') ⇒ OaiDcParser

Returns a new instance of OaiDcParser.



7
8
9
# File 'lib/krikri/parsers/oai_dc_parser.rb', line 7

def initialize(record, root_path = '//oai_dc:dc')
  super
end