In: |
xsd/xmlparser/parser.rb
|
Parent: | Object |
charset | [RW] |
# File xsd/xmlparser/parser.rb, line 36 def self.add_factory(factory) if $DEBUG puts "Set #{ factory } as XML processor." end @@parser_factory = factory end
# File xsd/xmlparser/parser.rb, line 32 def self.create_parser(host, opt = {}) @@parser_factory.new(host, opt) end
# File xsd/xmlparser/parser.rb, line 47 def initialize(host, opt = {}) @host = host @charset = opt[:charset] || nil end