Class: WsdlMapper::Parsing::Base
- Inherits:
-
Object
- Object
- WsdlMapper::Parsing::Base
- Defined in:
- lib/wsdl_mapper/parsing/base.rb
Direct Known Subclasses
DomParsing::ParserBase, SvcDescParsing::Parser, SvcDescParsing::ParserBase
Constant Summary collapse
- TARGET_NS =
'targetNamespace'- NS_DECL_PREFIX =
'xmlns'
Instance Attribute Summary
Attributes included from Logging
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(base) ⇒ Base
constructor
A new instance of Base.
Methods included from Logging
Constructor Details
#initialize(base) ⇒ Base
Returns a new instance of Base.
15 16 17 18 |
# File 'lib/wsdl_mapper/parsing/base.rb', line 15 def initialize(base) @base = base @log_msgs = [] end |
Class Method Details
.get_name(node) ⇒ WsdlMapper::Dom::Name
22 23 24 25 26 27 |
# File 'lib/wsdl_mapper/parsing/base.rb', line 22 def self.get_name(node) ns = node.namespace ? node.namespace.href : nil name = node.name Name.get ns, name end |