source: extensions/gsdl-video/trunk/installed/cmdline/lib/ruby/1.8/wsdl/info.rb@ 18425

Last change on this file since 18425 was 18425, checked in by davidb, 15 years ago

Video extension to Greenstone

File size: 816 bytes
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
9module WSDL
10
11
12class 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
36end
37
38
39end
Note: See TracBrowser for help on using the repository browser.