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
23 24 25 |
# File 'lib/xsd/mapping.rb', line 23 def self.obj2xml(obj, elename = nil, io = nil) Mapper.new(MappingRegistry).obj2xml(obj, elename, io) end |
.xml2obj(stream, klass = nil) ⇒ Object
27 28 29 |
# File 'lib/xsd/mapping.rb', line 27 def self.xml2obj(stream, klass = nil) Mapper.new(MappingRegistry).xml2obj(stream, klass) end |