Module AWS::Core::XML::FrameStack
In: lib/aws/core/xml/frame_stack.rb

@api private

Methods

Public Class methods

@param [Hash] rules A hash of parser rules. These

  rules are typically generated by an {XML::Grammar}.

Public Instance methods

Increase the frame stack level by one by treating xml element attributes as nested elements. @param [Hash] attributes A hash of attributes names to values. @return [nil]

Pops the top frame off the stack. When closing frames their final value is computed. @overload end_element @return [nil]

Parses the xml string and returns a hash with the resutls. @param [String] xml @return [Hash]

Increase the frame stack level by one. @param [String] element_name The name of the xml opening tag. @param [Hash] attributes A hash of xml element attributes. @return [nil]

Adds text to the current frame. Frames that only contain text and no child elements are leaf nodes and have raw string values.

Protected Instance methods

[Validate]