Class: AWS::Core::XML::SaxHandlers::Ox

Inherits:
Object
  • Object
show all
Defined in:
lib/aws/core/xml/sax_handlers/ox.rb

Instance Method Summary collapse

Instance Method Details

#attr(name, value) ⇒ Object



33
34
35
# File 'lib/aws/core/xml/sax_handlers/ox.rb', line 33

def attr name, value
  attributes(name.to_s => value)
end

#sax_parse(xml) ⇒ Object



25
26
27
# File 'lib/aws/core/xml/sax_handlers/ox.rb', line 25

def sax_parse xml
  ::Ox.sax_parse(self, StringIO.new(xml))
end

#start_element(name) ⇒ Object



29
30
31
# File 'lib/aws/core/xml/sax_handlers/ox.rb', line 29

def start_element name
  super(name.to_s)
end