Class: WSDL::Parser::MessageReference Private
- Inherits:
-
Data
- Object
- Data
- WSDL::Parser::MessageReference
- Defined in:
- lib/wsdl/parser/message_reference.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Represents a wsdl:input/wsdl:output message reference.
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#message_name ⇒ Object
readonly
Returns the value of attribute message_name.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Class Method Summary collapse
-
.from_node(node) ⇒ MessageReference
private
Builds a message reference from an input/output node.
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message
8 9 10 |
# File 'lib/wsdl/parser/message_reference.rb', line 8 def @message end |
#message_name ⇒ Object (readonly)
Returns the value of attribute message_name
8 9 10 |
# File 'lib/wsdl/parser/message_reference.rb', line 8 def @message_name end |
#name ⇒ Object (readonly)
Returns the value of attribute name
8 9 10 |
# File 'lib/wsdl/parser/message_reference.rb', line 8 def name @name end |
Class Method Details
.from_node(node) ⇒ MessageReference
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Builds a message reference from an input/output node.
14 15 16 17 18 19 20 |
# File 'lib/wsdl/parser/message_reference.rb', line 14 def from_node(node) = node['message'] default_namespace = QName.document_namespace(node.document.root) = ? QName.parse(, namespaces: node.namespaces, default_namespace:) : nil new(name: node['name'], message:, message_name:) end |