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

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

Video extension to Greenstone

File size: 584 bytes
Line 
1# WSDL4R - XMLSchema unique element.
2# Copyright (C) 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
9require 'wsdl/info'
10
11
12module WSDL
13module XMLSchema
14
15
16class Unique < Info
17 def initialize
18 super
19 end
20
21 def parse_element(element)
22 # Accepts any element.
23 self
24 end
25
26 def parse_attr(attr, value)
27 # Accepts any attribute.
28 true
29 end
30end
31
32
33end
34end
Note: See TracBrowser for help on using the repository browser.