123456789_123456789_123456789_123456789_123456789_

Class: RSS::XMLParserParser

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, BaseParser
Instance Chain:
self, BaseParser
Inherits: RSS::BaseParser
Defined in: lib/rss/xmlparser.rb

Class Attribute Summary

Class Method Summary

Instance Attribute Summary

Instance Method Summary

BaseParser - Inherited

Constructor Details

This class inherits a constructor from RSS::BaseParser

Class Method Details

.listener

[ GitHub ]

  
# File 'lib/rss/xmlparser.rb', line 64

def listener
  XMLParserListener
end

Instance Method Details

#_parse (private)

[ GitHub ]

  
# File 'lib/rss/xmlparser.rb', line 70

def _parse
  begin
    parser = REXMLLikeXMLParser.new
    parser.listener = @listener
    parser.parse(@rss)
  rescue ::XML::Parser::Error => e
    raise NotWellFormedError.new(parser.line){e.message}
  end
end