Module: Element::ClassModule
- Defined in:
- lib/rgen/xsd/xml_schema_metamodel_ext.rb
Instance Method Summary collapse
Instance Method Details
#effectiveElement ⇒ Object
4 5 6 |
# File 'lib/rgen/xsd/xml_schema_metamodel_ext.rb', line 4 def effectiveElement ref || self end |
#effectiveType ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/rgen/xsd/xml_schema_metamodel_ext.rb', line 7 def effectiveType e = effectiveElement if e.getType && e.complexType puts "WARN: element has both, a type reference and a contained type" end e.getType || e.complexType || e.simpleType end |