class ChupaText::SAXParser::Listener

Public Class Methods

new(listener) click to toggle source
# File lib/chupa-text/sax-parser.rb, line 139
def initialize(listener)
  @listener = listener
end

Public Instance Methods

cdata(content) click to toggle source
# File lib/chupa-text/sax-parser.rb, line 163
def cdata(content)
  @listener.cdata(CGI.unescapeHTML(content))
end
characters(text) click to toggle source
# File lib/chupa-text/sax-parser.rb, line 159
def characters(text)
  @listener.characters(CGI.unescapeHTML(text))
end
end_element(*args) click to toggle source
# File lib/chupa-text/sax-parser.rb, line 155
def end_element(*args)
  @listener.end_element(*args)
end
end_prefix_mapping(*args) click to toggle source
# File lib/chupa-text/sax-parser.rb, line 147
def end_prefix_mapping(*args)
  @listener.end_prefix_mapping(*args)
end
start_element(*args) click to toggle source
# File lib/chupa-text/sax-parser.rb, line 151
def start_element(*args)
  @listener.start_element(*args)
end
start_prefix_mapping(*args) click to toggle source
# File lib/chupa-text/sax-parser.rb, line 143
def start_prefix_mapping(*args)
  @listener.start_prefix_mapping(*args)
end