Methods
#
E
H
N
Q
T
Attributes
[R] element_binding
[R] mapping
[R] qname
[R] type
Class Public methods
new(marshaler, qname, type, mapping, element_binding=nil)
# 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
==(other)
eql?(other)
Also aliased as: ==
# File rails/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb, line 167
def eql?(other)
  @qname == other.qname
end
hash()
# File rails/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb, line 172
def hash
  @qname.hash
end
qualified_type_name(ns=nil)
# 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
type_name()
# File rails/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb, line 150
def type_name
  @type.custom? ? @qname.name : nil
end