Line | |
---|
1 | # WSDL4R - WSDL information base.
|
---|
2 | # Copyright (C) 2002, 2003 NAKAMURA, Hiroshi <[email protected]>.
|
---|
3 |
|
---|
4 | # This program is copyrighted free software by NAKAMURA, Hiroshi. You can
|
---|
5 | # redistribute it and/or modify it under the same terms of Ruby's license;
|
---|
6 | # either the dual license version in 2003, or any later version.
|
---|
7 |
|
---|
8 |
|
---|
9 | module WSDL
|
---|
10 |
|
---|
11 |
|
---|
12 | class Info
|
---|
13 | attr_accessor :root
|
---|
14 | attr_accessor :parent
|
---|
15 | attr_accessor :id
|
---|
16 |
|
---|
17 | def initialize
|
---|
18 | @root = nil
|
---|
19 | @parent = nil
|
---|
20 | @id = nil
|
---|
21 | end
|
---|
22 |
|
---|
23 | def inspect
|
---|
24 | if self.respond_to?(:name)
|
---|
25 | sprintf("#<%s:0x%x %s>", self.class.name, __id__, self.name)
|
---|
26 | else
|
---|
27 | sprintf("#<%s:0x%x>", self.class.name, __id__)
|
---|
28 | end
|
---|
29 | end
|
---|
30 |
|
---|
31 | def parse_element(element); end # abstract
|
---|
32 |
|
---|
33 | def parse_attr(attr, value); end # abstract
|
---|
34 |
|
---|
35 | def parse_epilogue; end # abstract
|
---|
36 | end
|
---|
37 |
|
---|
38 |
|
---|
39 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.