Class: SOAP::EncodingStyle::SOAPHandler::SOAPUnknown
- Inherits:
-
SOAPTemporalObject
- Object
- SOAPTemporalObject
- SOAP::EncodingStyle::SOAPHandler::SOAPUnknown
- Defined in:
- lib/action_web_service/soap/encodingstyle/soapHandler.rb
Instance Attribute Summary collapse
-
#definedtype ⇒ Object
Returns the value of attribute definedtype.
-
#extraattr ⇒ Object
readonly
Returns the value of attribute extraattr.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Attributes inherited from SOAPTemporalObject
#id, #parent, #position, #root
Instance Method Summary collapse
- #as_nil ⇒ Object
- #as_string ⇒ Object
- #as_struct ⇒ Object
-
#initialize(handler, elename, type, extraattr) ⇒ SOAPUnknown
constructor
A new instance of SOAPUnknown.
Constructor Details
#initialize(handler, elename, type, extraattr) ⇒ SOAPUnknown
Returns a new instance of SOAPUnknown.
102 103 104 105 106 107 108 109 |
# File 'lib/action_web_service/soap/encodingstyle/soapHandler.rb', line 102 def initialize(handler, elename, type, extraattr) super() @handler = handler @elename = elename @type = type @extraattr = extraattr @definedtype = nil end |
Instance Attribute Details
#definedtype ⇒ Object
Returns the value of attribute definedtype.
99 100 101 |
# File 'lib/action_web_service/soap/encodingstyle/soapHandler.rb', line 99 def definedtype @definedtype end |
#extraattr ⇒ Object (readonly)
Returns the value of attribute extraattr.
100 101 102 |
# File 'lib/action_web_service/soap/encodingstyle/soapHandler.rb', line 100 def extraattr @extraattr end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
98 99 100 |
# File 'lib/action_web_service/soap/encodingstyle/soapHandler.rb', line 98 def type @type end |
Instance Method Details
#as_nil ⇒ Object
133 134 135 136 137 138 139 140 141 142 |
# File 'lib/action_web_service/soap/encodingstyle/soapHandler.rb', line 133 def as_nil o = SOAPNil.decode(@elename) o.id = @id o.root = @root o.parent = @parent o.position = @position o.extraattr.update(@extraattr) @handler.decode_parent(@parent, o) o end |
#as_string ⇒ Object
122 123 124 125 126 127 128 129 130 131 |
# File 'lib/action_web_service/soap/encodingstyle/soapHandler.rb', line 122 def as_string o = SOAPString.decode(@elename) o.id = @id o.root = @root o.parent = @parent o.position = @position o.extraattr.update(@extraattr) @handler.decode_parent(@parent, o) o end |
#as_struct ⇒ Object
111 112 113 114 115 116 117 118 119 120 |
# File 'lib/action_web_service/soap/encodingstyle/soapHandler.rb', line 111 def as_struct o = SOAPStruct.decode(@elename, @type) o.id = @id o.root = @root o.parent = @parent o.position = @position o.extraattr.update(@extraattr) @handler.decode_parent(@parent, o) o end |