1
# WSDL4R - XMLSchema any definition for WSDL.
2
# Copyright (C) 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
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.
17
attr_accessor :maxoccurs
18
attr_accessor :minoccurs
19
attr_accessor :namespace
20
attr_accessor :process_contents
27
@process_contents = 'strict'
31
parent.targetnamespace
34
def parse_element(element)
38
def parse_attr(attr, value)
40
when MaxOccursAttrName
41
@maxoccurs = value.source
42
when MinOccursAttrName
43
@minoccurs = value.source
44
when NamespaceAttrName
45
@namespace = value.source
46
when ProcessContentsAttrName
47
@process_contents = value.source