Class: SOAP::SOAPExternalReference

Inherits:
XSD::NSDBase
  • Object
show all
Extended by:
SOAPModuleUtils
Includes:
SOAPBasetype
Defined in:
lib/soap4r_19_patch/soap/baseData.rb

Constant Summary

Constants included from SOAP

SOAPGenerator

Instance Attribute Summary

Attributes included from SOAPBasetype

#qualified

Attributes included from SOAPType

#definedtype, #elename, #encodingstyle, #extraattr, #id, #parent, #position, #precedents, #root

Instance Method Summary collapse

Methods included from SOAPModuleUtils

decode, to_data

Methods included from SOAPType

#inspect, #rootnode

Constructor Details

#initializeSOAPExternalReference

Returns a new instance of SOAPExternalReference.



203
204
205
206
# File 'lib/soap4r_19_patch/soap/baseData.rb', line 203

def initialize
  super()
  @type = XSD::QName::EMPTY
end

Instance Method Details

#referredObject



208
209
210
# File 'lib/soap4r_19_patch/soap/baseData.rb', line 208

def referred
  rootnode.external_content[external_contentid] = self
end

#refidstrObject



212
213
214
# File 'lib/soap4r_19_patch/soap/baseData.rb', line 212

def refidstr
  'cid:' + external_contentid
end