Sha256: f1b680f27ec64a2d4265d9736331339e17c2f3b6591042a8b346ac56d6776690
Contents?: true
Size: 664 Bytes
Versions: 2
Compression:
Stored size: 664 Bytes
Contents
# WSDL4R - XMLSchema element definition for WSDL. # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>. # 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? # parent sequence / choice may be marked as maxOccurs="unbounded" maxoccurs.nil? or maxoccurs != 1 or (parent and parent.map_as_array?) end def attributes @local_complextype.attributes end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
soap4r-1.5.6 | lib/wsdl/soap/element.rb |
soap4r-1.5.7 | lib/wsdl/soap/element.rb |