Class: WsdlMapper::Deserializers::Frame
- Inherits:
-
Object
- Object
- WsdlMapper::Deserializers::Frame
- Defined in:
- lib/wsdl_mapper/deserializers/frame.rb
Instance Attribute Summary collapse
-
#attrs ⇒ Object
readonly
Returns the value of attribute attrs.
-
#base ⇒ Object
readonly
Returns the value of attribute base.
-
#children ⇒ Object
readonly
Returns the value of attribute children.
-
#mapping ⇒ Object
readonly
Returns the value of attribute mapping.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#namespaces ⇒ Object
readonly
Returns the value of attribute namespaces.
-
#object ⇒ Object
Returns the value of attribute object.
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
-
#text ⇒ Object
Returns the value of attribute text.
-
#type_name ⇒ Object
readonly
Returns the value of attribute type_name.
Instance Method Summary collapse
- #end ⇒ Object
-
#initialize(name, type_name, attrs, parent, namespaces, base, mapping) ⇒ Frame
constructor
A new instance of Frame.
- #start ⇒ Object
Constructor Details
#initialize(name, type_name, attrs, parent, namespaces, base, mapping) ⇒ Frame
Returns a new instance of Frame.
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 7 def initialize(name, type_name, attrs, parent, namespaces, base, mapping) @name = name @type_name = type_name @parent = parent @attrs = attrs @namespaces = namespaces @base = base @mapping = mapping @children = [] end |
Instance Attribute Details
#attrs ⇒ Object (readonly)
Returns the value of attribute attrs.
4 5 6 |
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 4 def attrs @attrs end |
#base ⇒ Object (readonly)
Returns the value of attribute base.
4 5 6 |
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 4 def base @base end |
#children ⇒ Object (readonly)
Returns the value of attribute children.
4 5 6 |
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 4 def children @children end |
#mapping ⇒ Object (readonly)
Returns the value of attribute mapping.
4 5 6 |
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 4 def mapping @mapping end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 4 def name @name end |
#namespaces ⇒ Object (readonly)
Returns the value of attribute namespaces.
4 5 6 |
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 4 def namespaces @namespaces end |
#object ⇒ Object
Returns the value of attribute object.
5 6 7 |
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 5 def object @object end |
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
4 5 6 |
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 4 def parent @parent end |
#text ⇒ Object
Returns the value of attribute text.
5 6 7 |
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 5 def text @text end |
#type_name ⇒ Object (readonly)
Returns the value of attribute type_name.
4 5 6 |
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 4 def type_name @type_name end |
Instance Method Details
#end ⇒ Object
24 25 26 27 28 |
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 24 def end if @mapping @mapping.end @base, self end end |
#start ⇒ Object
18 19 20 21 22 |
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 18 def start if @mapping @mapping.start @base, self end end |