class Xlsxrb::Ooxml::RelationshipsParser::Listener
SAX listener for .rels relationship files.
Attributes
relationships
[R]
untyped
Public Class Methods
() → untyped
Source
# File lib/xlsxrb/ooxml/workbook_parser.rb, line 65 def initialize @relationships = {} end
Public Instance Methods
(untyped _text) → untyped
Source
# File lib/xlsxrb/ooxml/workbook_parser.rb, line 79 def characters(_text); end
(untyped _uri, untyped _localname, untyped _qname) → untyped
Source
# File lib/xlsxrb/ooxml/workbook_parser.rb, line 77 def end_element(_uri, _localname, _qname); end
(untyped _uri, untyped localname, untyped _qname, untyped attrs) → untyped
Source
# File lib/xlsxrb/ooxml/workbook_parser.rb, line 69 def start_element(_uri, localname, _qname, attrs) return unless localname == "Relationship" rid = attrs["Id"] target = attrs["Target"] @relationships[rid] = target if rid && target end