Class: Aws::Xml::Parser::Frame Private
- Inherits:
-
Object
- Object
- Aws::Xml::Parser::Frame
- 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.
Direct Known Subclasses
BlobFrame, BooleanFrame, FlatListFrame, FloatFrame, IntegerFrame, ListFrame, MapEntryFrame, MapFrame, NullFrame, StringFrame, StructureFrame, TimestampFrame
Instance Attribute Summary collapse
- #parent ⇒ Object readonly private
- #result ⇒ Object readonly private
- #shape ⇒ Object readonly private
Class Method Summary collapse
Instance Method Summary collapse
- #child_frame(xml_name) ⇒ Object private
- #consume_child_frame(child) ⇒ Object private
-
#initialize(parent, shape, result = nil) ⇒ Frame
constructor
private
A new instance of Frame.
- #set_text(value) ⇒ Object private
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
#parent ⇒ Object (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 |
#result ⇒ Object (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 |
#shape ⇒ Object (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 |