Sha256: 8bee3b33f4a6148c1dc4c992dc15b814f477163d792b7e32b1507d5796fd9f5d

Contents?: true

Size: 403 Bytes

Versions: 1

Compression:

Stored size: 403 Bytes

Contents

module Eeml
  class ParserRegistry # :nodoc:
    #look at the given xml, build and return a new v005 or 006 parser, accordingly
    #this should work whether the xml given is for a single environment, or for a results list
    def self.get_xml_parser_for(xml_str)
      LibXMLEemlParserV005.new
    end

    def self.get_json_parser_for(json_str)
      JsonEnvironmentParserV005.new
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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