Methods
Attributes
[R] | element_binding | |
[R] | mapping | |
[R] | qname | |
[R] | type |
Class Public methods
Source: show
# File rails/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb, line 142 def initialize(marshaler, qname, type, mapping, element_binding=nil) @marshaler = marshaler @qname = qname @type = type @mapping = mapping @element_binding = element_binding end
Instance Public methods
Also aliased as: ==
Source: show
# File rails/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb, line 167 def eql?(other) @qname == other.qname end
Source: show
# File rails/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb, line 172 def hash @qname.hash end
Source: show
# File rails/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb, line 154 def qualified_type_name(ns=nil) if @type.custom? "#{ns ? ns : @qname.namespace}:#{@qname.name}" else ns = XSD::NS.new ns.assign(XSD::Namespace, SOAP::XSDNamespaceTag) ns.assign(SOAP::EncodingNamespace, "soapenc") xsd_klass = mapping[0].ancestors.find{|c| c.const_defined?('Type')} return ns.name(XSD::AnyTypeName) unless xsd_klass ns.name(xsd_klass.const_get('Type')) end end
Source: show
# File rails/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb, line 150 def type_name @type.custom? ? @qname.name : nil end