Module: SOAP::SOAPType
- Included in:
 - SOAPBasetype, SOAPCompoundtype
 
- Defined in:
 - lib/soap/baseData.rb
 
Overview
for SOAP type(base and compound)
Instance Attribute Summary collapse
- 
  
    
      #definedtype  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute definedtype.
 - 
  
    
      #elename  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute elename.
 - 
  
    
      #encodingstyle  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute encodingstyle.
 - 
  
    
      #extraattr  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute extraattr.
 - 
  
    
      #id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute id.
 - 
  
    
      #parent  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute parent.
 - 
  
    
      #position  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute position.
 - 
  
    
      #precedents  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute precedents.
 - 
  
    
      #root  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute root.
 
Instance Method Summary collapse
Instance Attribute Details
#definedtype ⇒ Object
Returns the value of attribute definedtype.
      44 45 46  | 
    
      # File 'lib/soap/baseData.rb', line 44 def definedtype @definedtype end  | 
  
#elename ⇒ Object
Returns the value of attribute elename.
      37 38 39  | 
    
      # File 'lib/soap/baseData.rb', line 37 def elename @elename end  | 
  
#encodingstyle ⇒ Object
Returns the value of attribute encodingstyle.
      36 37 38  | 
    
      # File 'lib/soap/baseData.rb', line 36 def encodingstyle @encodingstyle end  | 
  
#extraattr ⇒ Object (readonly)
Returns the value of attribute extraattr.
      43 44 45  | 
    
      # File 'lib/soap/baseData.rb', line 43 def extraattr @extraattr end  | 
  
#id ⇒ Object
Returns the value of attribute id.
      38 39 40  | 
    
      # File 'lib/soap/baseData.rb', line 38 def id @id end  | 
  
#parent ⇒ Object
Returns the value of attribute parent.
      41 42 43  | 
    
      # File 'lib/soap/baseData.rb', line 41 def parent @parent end  | 
  
#position ⇒ Object
Returns the value of attribute position.
      42 43 44  | 
    
      # File 'lib/soap/baseData.rb', line 42 def position @position end  | 
  
#precedents ⇒ Object (readonly)
Returns the value of attribute precedents.
      39 40 41  | 
    
      # File 'lib/soap/baseData.rb', line 39 def precedents @precedents end  | 
  
Instance Method Details
#initialize(*arg) ⇒ Object
      46 47 48 49 50 51 52 53 54 55 56 57  | 
    
      # File 'lib/soap/baseData.rb', line 46 def initialize(*arg) super @encodingstyle = nil @elename = XSD::QName::EMPTY @id = nil @precedents = [] @root = false @parent = nil @position = nil @definedtype = nil @extraattr = {} end  | 
  
#inspect ⇒ Object
      59 60 61 62 63 64 65  | 
    
      # File 'lib/soap/baseData.rb', line 59 def inspect if self.is_a?(XSD::NSDBase) sprintf("#<%s:0x%x %s %s>", self.class.name, __id__, self.elename, self.type) else sprintf("#<%s:0x%x %s>", self.class.name, __id__, self.elename) end end  | 
  
#rootnode ⇒ Object
      67 68 69 70 71 72 73  | 
    
      # File 'lib/soap/baseData.rb', line 67 def rootnode node = self while node = node.parent break if SOAPEnvelope === node end node end  |