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

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

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

- (Object) attrs (readonly)

Returns the value of attribute attrs



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

def attrs
  @attrs
end

- (Object) base (readonly)

Returns the value of attribute base



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

def base
  @base
end

- (Object) children (readonly)

Returns the value of attribute children



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

def children
  @children
end

- (Object) mapping (readonly)

Returns the value of attribute mapping



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

def mapping
  @mapping
end

- (Object) name (readonly)

Returns the value of attribute name



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

def name
  @name
end

- (Object) namespaces (readonly)

Returns the value of attribute namespaces



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

def namespaces
  @namespaces
end

- (Object) object

Returns the value of attribute object



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

def object
  @object
end

- (Object) parent (readonly)

Returns the value of attribute parent



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

def parent
  @parent
end

- (Object) text

Returns the value of attribute text



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

def text
  @text
end

- (Object) type_name (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

- (Object) end



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

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

- (Object) start



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

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