Class: Krikri::OaiDcParser

Inherits:
XmlParser show all
Includes:
OaiParserHeaders
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 included from OaiParserHeaders

#header

Methods inherited from Parser

parse

Constructor Details

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

Returns a new instance of OaiDcParser


9
10
11
# File 'lib/krikri/parsers/oai_dc_parser.rb', line 9

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