Class: OpenURL::Journal
- Inherits:
-
ScholarlyCommon
- Object
- ContextObjectEntity
- ScholarlyCommon
- OpenURL::Journal
- Defined in:
- lib/openurl/metadata_formats/journal.rb
Instance Attribute Summary
Attributes inherited from ScholarlyCommon
Attributes inherited from ContextObjectEntity
#abbr, #format, #identifiers, #label, #metadata, #private_data, #reference
Instance Method Summary collapse
-
#initialize ⇒ Journal
constructor
A new instance of Journal.
Methods inherited from ScholarlyCommon
#add_author, #genre, #genre=, #import_xml_metadata, #method_missing, #remove_author, #respond_to?, #serialize_metadata, #set_metadata
Methods inherited from ContextObjectEntity
#add_identifier, #delete_identifier, #empty?, #get_metadata, #identifier, #import_xml_metadata, #kev, new_from_format, normalize_id, #serialize_metadata, #set_format, #set_metadata, #set_private_data, #set_reference, #to_hash, #xml, #xml_for_ref_entity
Constructor Details
#initialize ⇒ Journal
Returns a new instance of Journal.
15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/openurl/metadata_formats/journal.rb', line 15 def initialize super() @format = 'journal' @metadata_keys = ['jtitle','atitle','title','stitle','place','pub','date','edition', 'spage','epage', 'pages','issn','eissn', 'isbn','sici','coden','chron', 'ssn','quarter','volume','part','issue','artnum' ] @valid_genres = ["journal","issue","article", "conference","proceeding", "preprint","unknown" ] @xml_ns = "info:ofi/fmt:xml:xsd:journal" @kev_ns = "info:ofi/fmt:kev:mtx:journal" end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OpenURL::ScholarlyCommon