Class: WsdlMapper::Dom::Element

Inherits:
Object
  • Object
show all
Defined in:
lib/wsdl_mapper/dom/element.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Element

Returns a new instance of Element.



9
10
11
12
# File 'lib/wsdl_mapper/dom/element.rb', line 9

def initialize(name)
  @name = name
  @documentation = Documentation.new
end

Instance Attribute Details

#documentationObject

Returns the value of attribute documentation.



7
8
9
# File 'lib/wsdl_mapper/dom/element.rb', line 7

def documentation
  @documentation
end

#nameObject (readonly)

Returns the value of attribute name.



6
7
8
# File 'lib/wsdl_mapper/dom/element.rb', line 6

def name
  @name
end

#typeObject

Returns the value of attribute type.



7
8
9
# File 'lib/wsdl_mapper/dom/element.rb', line 7

def type
  @type
end

#type_nameObject

Returns the value of attribute type_name.



7
8
9
# File 'lib/wsdl_mapper/dom/element.rb', line 7

def type_name
  @type_name
end