Class: TaliaCore::ActiveSourceParts::Xml::SourceReader

Inherits:
GenericReader show all
Defined in:
lib/talia_core/active_source_parts/xml/source_reader.rb

Overview

A Reader for the “TaliaInternal” XML format. Check the code of this class as a simple example of how an import reader works.

An example of the import format can be found in the SourceBuilder documentation.

Method Summary

Methods inherited from GenericReader

#add_source_with_check, #base_file_url, #base_file_url=, #call_handler, can_use_root, #check_objects, #chk_create, #create_handlers, #initialize, #read_children_of, #read_children_with_progress, #read_source, #set_element, #sources, sources_from, sources_from_url, #use_root, use_root

Methods included from TaliaUtil::IoHelper

#base_for, #file_url, #open_from_url, #open_generic

Methods included from GenericReaderImportStatements::Handlers

#element, #plain_element

Methods included from GenericReaderHelpers

#current_is_a?, #get_absolute_file_url, #join_files, #join_url, #parse_date, #source_exists?, #to_iso8601

Methods included from GenericReaderAddStatements

#add, #add_date, #add_date_interval, #add_file, #add_i18n, #add_rel

Methods included from GenericReaderImportStatements

#add_part, #add_source, #all_elements, #from_attribute, #from_element, #nested

Methods included from TaliaUtil::UriHelper

#irify, #sanitize_sparql

Methods included from TaliaUtil::Progressable

#progressor, #progressor=, #run_with_progress

Constructor Details

This class inherits a constructor from TaliaCore::ActiveSourceParts::Xml::GenericReader