Class: Aws::Xml::Parser::OxEngine Private
- Inherits:
-
Object
- Object
- Aws::Xml::Parser::OxEngine
- Defined in:
- lib/aws-sdk-core/xml/parser/ox_engine.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#initialize(stack) ⇒ OxEngine
constructor
private
A new instance of OxEngine.
- #parse(xml) ⇒ Object private
Constructor Details
#initialize(stack) ⇒ OxEngine
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of OxEngine.
11 12 13 |
# File 'lib/aws-sdk-core/xml/parser/ox_engine.rb', line 11 def initialize(stack) @stack = stack end |
Instance Method Details
#parse(xml) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 16 17 18 19 20 21 |
# File 'lib/aws-sdk-core/xml/parser/ox_engine.rb', line 15 def parse(xml) Ox.sax_parse( @stack, StringIO.new(xml), :convert_special => true, :skip => :skip_return ) end |