Class: SOAP::Parser::ParseFrame
Defined Under Namespace
Classes: NodeContainer
Instance Attribute Summary collapse
-
#encodingstyle ⇒ Object
readonly
Returns the value of attribute encodingstyle.
-
#handler ⇒ Object
readonly
Returns the value of attribute handler.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#node ⇒ Object
readonly
Returns the value of attribute node.
-
#ns ⇒ Object
readonly
Returns the value of attribute ns.
Instance Method Summary collapse
-
#initialize(ns, name, node, encodingstyle, handler) ⇒ ParseFrame
constructor
A new instance of ParseFrame.
-
#update(ns, name, node, encodingstyle, handler) ⇒ Object
to avoid memory consumption.
Constructor Details
#initialize(ns, name, node, encodingstyle, handler) ⇒ ParseFrame
Returns a new instance of ParseFrame.
52 53 54 55 56 57 58 |
# File 'lib/soap/parser.rb', line 52 def initialize(ns, name, node, encodingstyle, handler) @ns = ns @name = name @node = NodeContainer.new(node) @encodingstyle = encodingstyle @handler = handler end |
Instance Attribute Details
#encodingstyle ⇒ Object (readonly)
Returns the value of attribute encodingstyle.
33 34 35 |
# File 'lib/soap/parser.rb', line 33 def encodingstyle @encodingstyle end |
#handler ⇒ Object (readonly)
Returns the value of attribute handler.
34 35 36 |
# File 'lib/soap/parser.rb', line 34 def handler @handler end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
31 32 33 |
# File 'lib/soap/parser.rb', line 31 def name @name end |
#node ⇒ Object (readonly)
Returns the value of attribute node.
30 31 32 |
# File 'lib/soap/parser.rb', line 30 def node @node end |
#ns ⇒ Object (readonly)
Returns the value of attribute ns.
32 33 34 |
# File 'lib/soap/parser.rb', line 32 def ns @ns end |
Instance Method Details
#update(ns, name, node, encodingstyle, handler) ⇒ Object
to avoid memory consumption
61 62 63 64 65 66 67 68 |
# File 'lib/soap/parser.rb', line 61 def update(ns, name, node, encodingstyle, handler) @ns = ns @name = name @node.replace_node(node) @encodingstyle = encodingstyle @handler = handler self end |