class Aws::Xml::Parser::ListFrame

Public Class Methods

new(*args) click to toggle source
Calls superclass method Aws::Xml::Parser::Frame.new
# File lib/aws-sdk-core/xml/parser/frame.rb, line 123
def initialize(*args)
  super
  @result = []
  @member_xml_name = @ref.shape.member.location_name || 'member'
end

Public Instance Methods

child_frame(xml_name) click to toggle source
# File lib/aws-sdk-core/xml/parser/frame.rb, line 129
def child_frame(xml_name)
  if xml_name == @member_xml_name
    Frame.new(self, @ref.shape.member)
  else
    raise NotImplementedError
  end
end
consume_child_frame(child) click to toggle source
# File lib/aws-sdk-core/xml/parser/frame.rb, line 137
def consume_child_frame(child)
  @result << child.result unless NullFrame === child
end