Class: Aws::Xml::Parser::Frame Private

Inherits:
Object
  • Object
show all
Defined in:
lib/aws-sdk-core/xml/parser/frame.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 Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parent, shape, result = nil) ⇒ Frame

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 Frame.



9
10
11
12
13
# File 'lib/aws-sdk-core/xml/parser/frame.rb', line 9

def initialize(parent, shape, result = nil)
  @parent = parent
  @shape = shape
  @result = result
end

Instance Attribute Details

#parentObject (readonly)

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
# File 'lib/aws-sdk-core/xml/parser/frame.rb', line 15

def parent
  @parent
end

#resultObject (readonly)

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.



19
20
21
# File 'lib/aws-sdk-core/xml/parser/frame.rb', line 19

def result
  @result
end

#shapeObject (readonly)

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.



17
18
19
# File 'lib/aws-sdk-core/xml/parser/frame.rb', line 17

def shape
  @shape
end

Class Method Details

.new(parent, shape, result = nil) ⇒ 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.



33
34
35
36
37
38
39
40
41
# File 'lib/aws-sdk-core/xml/parser/frame.rb', line 33

def new(parent, shape, result = nil)
  if self == Frame
    frame = frame_class(shape).allocate
    frame.send(:initialize, parent, shape, result)
    frame
  else
    super
  end
end

Instance Method Details

#child_frame(xml_name) ⇒ 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.



23
24
25
# File 'lib/aws-sdk-core/xml/parser/frame.rb', line 23

def child_frame(xml_name)
  NullFrame.new(self)
end

#consume_child_frame(child) ⇒ 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.



27
# File 'lib/aws-sdk-core/xml/parser/frame.rb', line 27

def consume_child_frame(child); end

#set_text(value) ⇒ 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.



21
# File 'lib/aws-sdk-core/xml/parser/frame.rb', line 21

def set_text(value); end