Class: AWS::Core::XML::SaxHandlers::Ox
- Inherits:
-
Object
- Object
- AWS::Core::XML::SaxHandlers::Ox
show all
- Includes:
- FrameStack
- Defined in:
- lib/aws/core/xml/sax_handlers/ox.rb
Instance Method Summary
collapse
Methods included from FrameStack
#attributes, #end_element, #initialize, #parse, #text
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
|