Class: TaliaCore::ActiveSourceParts::Xml::GenericReader::State

Inherits:
Object
  • Object
show all
Defined in:
lib/talia_core/active_source_parts/xml/generic_reader.rb

Overview

Class for the current import state. This contains the XML element that is currently imported, and the hash with the attributes for the currently importing source. In the importer, the current State will be available as

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes.



73
74
75
# File 'lib/talia_core/active_source_parts/xml/generic_reader.rb', line 73

def attributes
  @attributes
end

#elementObject

Returns the value of attribute element.



73
74
75
# File 'lib/talia_core/active_source_parts/xml/generic_reader.rb', line 73

def element
  @element
end