Sha256: f98603dbe338a1989caebe4cf490644dde56b192b6d7f9790cdeb1c29ef08c3f

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

module Eeml
  class ParserRegistry
    #look at the given xml, build and return a new v005 or 006 parser, accordingly
    def self.get_xml_parser_for(xml_str)
      LibXMLEemlParserV005.new
    end

    def self.get_json_parser_for(json_str)
      JsonEnvironmentParser.new
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eeml-0.0.1 lib/eeml/parser_registry.rb