Class: RSS::REXMLParser
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
BaseParser
|
|
Instance Chain:
self,
BaseParser
|
|
Inherits: |
RSS::BaseParser
|
Defined in: | lib/rss/rexmlparser.rb |
Class Attribute Summary
BaseParser - Inherited
Class Method Summary
Instance Attribute Summary
BaseParser - Inherited
Instance Method Summary
Constructor Details
This class inherits a constructor from RSS::BaseParser
Class Method Details
.listener
[ GitHub ]# File 'lib/rss/rexmlparser.rb', line 9
def listener REXMLListener end
Instance Method Details
#_parse (private)
[ GitHub ]# File 'lib/rss/rexmlparser.rb', line 15
def _parse begin REXML::Document.parse_stream(@rss, @listener) rescue RuntimeError => e raise NotWellFormedError.new{e. } rescue REXML::ParseException => e context = e.context line = context[0] if context raise NotWellFormedError.new(line){e. } end end