Class: SOAP::SOAPExternalReference

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

Direct Known Subclasses

SOAPAttachment

Constant Summary

Constants included from SOAP

AttrActor, AttrArrayType, AttrArrayTypeName, AttrEncodingStyle, AttrEncodingStyleName, AttrMustUnderstand, AttrMustUnderstandName, AttrOffset, AttrOffsetName, AttrPosition, AttrPositionName, AttrRoot, AttrRootName, Base64Literal, EleBody, EleBodyName, EleEnvelope, EleEnvelopeName, EleFault, EleFaultActor, EleFaultActorName, EleFaultCode, EleFaultCodeName, EleFaultDetail, EleFaultDetailName, EleFaultName, EleFaultString, EleFaultStringName, EleHeader, EleHeaderName, EncodingNamespace, EnvelopeNamespace, LiteralNamespace, MediaType, NextActor, PropertyName, SOAPNamespaceTag, TypeMap, VERSION, ValueArray, ValueArrayName, XSDNamespaceTag, XSINamespaceTag

Instance Attribute Summary

Attributes included from SOAPType

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

Instance Method Summary collapse

Methods included from SOAPModuleUtils

decode

Methods included from SOAPType

#inspect, #rootnode

Constructor Details

#initializeSOAPExternalReference

Returns a new instance of SOAPExternalReference.



179
180
181
182
# File 'lib/soap/baseData.rb', line 179

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

Instance Method Details

#referredObject



184
185
186
# File 'lib/soap/baseData.rb', line 184

def referred
  rootnode.external_content[external_contentid] = self
end

#refidstrObject



188
189
190
# File 'lib/soap/baseData.rb', line 188

def refidstr
  'cid:' + external_contentid
end