Module: XSD::Mapping
- Defined in:
- lib/xsd/mapping.rb
Defined Under Namespace
Classes: Mapper
Constant Summary collapse
- MappingRegistry =
SOAP::Mapping::LiteralRegistry.new
Class Method Summary collapse
Class Method Details
.obj2xml(obj, elename = nil, io = nil) ⇒ Object
22 23 24 |
# File 'lib/xsd/mapping.rb', line 22 def self.obj2xml(obj, elename = nil, io = nil) Mapper.new(MappingRegistry).obj2xml(obj, elename, io) end |
.xml2obj(stream, klass = nil) ⇒ Object
26 27 28 |
# File 'lib/xsd/mapping.rb', line 26 def self.xml2obj(stream, klass = nil) Mapper.new(MappingRegistry).xml2obj(stream, klass) end |