blob: 0fa6017c5baeba25abc26b56f0d5e9615eb06036 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# WSDL4R - XMLSchema element definition for WSDL.
# Copyright (C) 2004 NAKAMURA, Hiroshi <[email protected]>.
# This program is copyrighted free software by NAKAMURA, Hiroshi. You can
# redistribute it and/or modify it under the same terms of Ruby's license;
# either the dual license version in 2003, or any later version.
require 'wsdl/xmlSchema/element'
module WSDL
module XMLSchema
class Element < Info
def map_as_array?
maxoccurs != '1'
end
def attributes
@local_complextype.attributes
end
end
end
end
|