Class: Puree::XMLExtractor::Paper

Inherits:
ResearchOutput show all
Includes:
PageRangeMixin, PagesMixin, PeerReviewedMixin
Defined in:
lib/puree/xml_extractor/paper.rb

Overview

Paper base XML extractor.

Direct Known Subclasses

ConferencePaper

Instance Method Summary collapse

Methods included from PeerReviewedMixin

#peer_reviewed

Methods included from PageRangeMixin

#page_range

Methods included from PagesMixin

#pages

Methods inherited from ResearchOutput

#bibliographical_note, #category, #doi, #files, #keywords, #language, #links, #open_access_permission, #persons_external, #persons_internal, #persons_other, #publication_statuses, #scopus_citations_count, #scopus_id, #scopus_metrics, #subtitle, #translated_subtitle, #translated_title

Methods included from TypeMixin

#type

Methods included from TitleMixin

#title

Methods included from WorkflowMixin

#workflow

Methods included from ResearchOutputMixin

#research_outputs

Methods included from ProjectMixin

#projects

Methods included from OwnerMixin

#owner

Methods included from OrganisationalUnitMixin

#organisational_units

Methods included from AbstractMixin

#description

Methods inherited from Resource

#created_at, #created_by, #model, #modified_at, #modified_by, #uuid

Methods inherited from Base

#xpath_query_for_multi_value, #xpath_query_for_single_value

Constructor Details

#initialize(xml) ⇒ Paper

Returns a new instance of Paper.



11
12
13
14
# File 'lib/puree/xml_extractor/paper.rb', line 11

def initialize(xml)
  super
  setup_model :paper
end