Class: WSDL::Info
- Inherits:
-
Object
- Object
- WSDL::Info
- Defined in:
- lib/wsdl/info.rb
Direct Known Subclasses
Binding, Definitions, Documentation, Import, Message, Operation, OperationBinding, Param, Part, Port, PortType, SOAP::Address, SOAP::Binding, SOAP::Body, SOAP::Fault, SOAP::Header, SOAP::HeaderFault, SOAP::Operation, Service, Types, XMLSchema::All, XMLSchema::Annotation, XMLSchema::Any, XMLSchema::Attribute, XMLSchema::Choice, XMLSchema::ComplexContent, XMLSchema::ComplexType, XMLSchema::Content, XMLSchema::Element, XMLSchema::Enumeration, XMLSchema::Import, XMLSchema::Include, XMLSchema::Length, XMLSchema::Pattern, XMLSchema::Schema, XMLSchema::Sequence, XMLSchema::SimpleContent, XMLSchema::SimpleExtension, XMLSchema::SimpleRestriction, XMLSchema::SimpleType, XMLSchema::Unique
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#root ⇒ Object
Returns the value of attribute root.
Instance Method Summary collapse
-
#initialize ⇒ Info
constructor
A new instance of Info.
- #inspect ⇒ Object
-
#parse_attr(attr, value) ⇒ Object
abstract.
-
#parse_element(element) ⇒ Object
abstract.
-
#parse_epilogue ⇒ Object
abstract.
Constructor Details
#initialize ⇒ Info
Returns a new instance of Info.
17 18 19 20 21 |
# File 'lib/wsdl/info.rb', line 17 def initialize @root = nil @parent = nil @id = nil end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
15 16 17 |
# File 'lib/wsdl/info.rb', line 15 def id @id end |
#parent ⇒ Object
Returns the value of attribute parent
14 15 16 |
# File 'lib/wsdl/info.rb', line 14 def parent @parent end |
#root ⇒ Object
Returns the value of attribute root
13 14 15 |
# File 'lib/wsdl/info.rb', line 13 def root @root end |
Instance Method Details
#inspect ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/wsdl/info.rb', line 23 def inspect if self.respond_to?(:name) sprintf("#<%s:0x%x %s>", self.class.name, __id__, self.name) else sprintf("#<%s:0x%x>", self.class.name, __id__) end end |
#parse_attr(attr, value) ⇒ Object
abstract
33 |
# File 'lib/wsdl/info.rb', line 33 def parse_attr(attr, value); end |
#parse_element(element) ⇒ Object
abstract
31 |
# File 'lib/wsdl/info.rb', line 31 def parse_element(element); end |
#parse_epilogue ⇒ Object
abstract
35 |
# File 'lib/wsdl/info.rb', line 35 def parse_epilogue; end |