Class: WsdlMapper::Deserializers::Frame

Inherits:
Object
  • Object
show all
Defined in:
lib/wsdl_mapper/deserializers/frame.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, type_name, attrs, parent, namespaces, base, mapping) ⇒ Frame

Returns a new instance of Frame.



7
8
9
10
11
12
13
14
15
16
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 7

def initialize(name, type_name, attrs, parent, namespaces, base, mapping)
  @name = name
  @type_name = type_name
  @parent = parent
  @attrs = attrs
  @namespaces = namespaces
  @base = base
  @mapping = mapping
  @children = []
end

Instance Attribute Details

#attrsObject (readonly)

Returns the value of attribute attrs.



4
5
6
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 4

def attrs
  @attrs
end

#baseObject (readonly)

Returns the value of attribute base.



4
5
6
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 4

def base
  @base
end

#childrenObject (readonly)

Returns the value of attribute children.



4
5
6
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 4

def children
  @children
end

#mappingObject (readonly)

Returns the value of attribute mapping.



4
5
6
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 4

def mapping
  @mapping
end

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 4

def name
  @name
end

#namespacesObject (readonly)

Returns the value of attribute namespaces.



4
5
6
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 4

def namespaces
  @namespaces
end

#objectObject

Returns the value of attribute object.



5
6
7
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 5

def object
  @object
end

#parentObject (readonly)

Returns the value of attribute parent.



4
5
6
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 4

def parent
  @parent
end

#textObject

Returns the value of attribute text.



5
6
7
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 5

def text
  @text
end

#type_nameObject (readonly)

Returns the value of attribute type_name.



4
5
6
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 4

def type_name
  @type_name
end

Instance Method Details

#endObject



24
25
26
27
28
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 24

def end
  if @mapping
    @mapping.end @base, self
  end
end

#startObject



18
19
20
21
22
# File 'lib/wsdl_mapper/deserializers/frame.rb', line 18

def start
  if @mapping
    @mapping.start @base, self
  end
end