Module SOAP::SOAPType
In: lib/soap/baseData.rb

for SOAP type(base and compound)

Methods

inspect   new   rootnode  

Attributes

definedtype  [RW] 
elename  [RW] 
encodingstyle  [RW] 
extraattr  [R] 
id  [RW] 
parent  [RW] 
position  [RW] 
precedents  [R] 
root  [RW] 

Public Class methods

[Source]

    # File lib/soap/baseData.rb, line 46
46:   def initialize(*arg)
47:     super
48:     @encodingstyle = nil
49:     @elename = XSD::QName::EMPTY
50:     @id = nil
51:     @precedents = []
52:     @root = false
53:     @parent = nil
54:     @position = nil
55:     @definedtype = nil
56:     @extraattr = {}
57:   end

Public Instance methods

[Source]

    # File lib/soap/baseData.rb, line 59
59:   def inspect
60:     if self.is_a?(XSD::NSDBase)
61:       sprintf("#<%s:0x%x %s %s>", self.class.name, __id__, self.elename, self.type)
62:     else
63:       sprintf("#<%s:0x%x %s>", self.class.name, __id__, self.elename)
64:     end
65:   end

[Source]

    # File lib/soap/baseData.rb, line 67
67:   def rootnode
68:     node = self
69:     while node = node.parent
70:       break if SOAPEnvelope === node
71:     end
72:     node
73:   end

[Validate]