Module: MARC
- Defined in:
- lib/marc/reader.rb,
lib/marc/record.rb,
lib/marc/writer.rb,
lib/marc/version.rb,
lib/marc/subfield.rb,
lib/marc/constants.rb,
lib/marc/datafield.rb,
lib/marc/exception.rb,
lib/marc/xmlreader.rb,
lib/marc/xmlwriter.rb,
lib/marc/dublincore.rb,
lib/marc/xml_parsers.rb,
lib/marc/controlfield.rb,
lib/marc/jsonl_reader.rb,
lib/marc/jsonl_writer.rb,
lib/marc/marc8/to_unicode.rb,
lib/marc/unsafe_xmlwriter.rb,
lib/marc/marc8/map_to_unicode.rb
Overview
Note: requiring ‘marc/marc8/to_unicode’ below, in #initialize, only when necessary
Defined Under Namespace
Modules: GenericPullParser, JRubySTAXReader, LibXMLReader, MagicReader, Marc8, NokogiriReader, REXMLReader Classes: ControlField, DataField, DublinCore, Exception, FieldMap, ForgivingReader, JSONLReader, JSONLWriter, Reader, Record, RecordException, Subfield, UnsafeXMLWriter, Writer, XMLParseError, XMLReader, XMLWriter
Constant Summary collapse
- VERSION =
"1.3.0"
- LEADER_LENGTH =
constants used in MARC21 reading/writing
24
- DIRECTORY_ENTRY_LENGTH =
12
- SUBFIELD_INDICATOR =
0x1F.chr
- END_OF_FIELD =
0x1E.chr
- END_OF_RECORD =
0x1D.chr
- MARC_NS =
constants used in XML reading/writing
"http://www.loc.gov/MARC21/slim"
- MARC_XSD =
"http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"
- MARCHASH_MAJOR_VERSION =
marc-hash
1
- MARCHASH_MINOR_VERSION =
0
- IND1 =
"ind1".freeze
- IND2 =
"ind2".freeze
- TAG =
"tag".freeze
- CODE =
"code".freeze