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

- (Element) initialize(name)

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

- (Object) documentation

Returns the value of attribute documentation



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

def documentation
  @documentation
end

- (Object) name (readonly)

Returns the value of attribute name



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

def name
  @name
end

- (Object) type

Returns the value of attribute type



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

def type
  @type
end

- (Object) type_name

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