123456789_123456789_123456789_123456789_123456789_

Class: RSS::REXMLLikeXMLParser

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

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#listener=(listener) (writeonly)

[ GitHub ]

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

def listener=(listener)
  @listener = listener
end

Instance Method Details

#character(data)

[ GitHub ]

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

def character(data)
  @listener.text(data)
end

#endElement(name)

[ GitHub ]

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

def endElement(name)
  @listener.tag_end(name)
end

#processingInstruction(target, content)

[ GitHub ]

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

def processingInstruction(target, content)
  @listener.instruction(target, content)
end

#startElement(name, attrs)

[ GitHub ]

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

def startElement(name, attrs)
  @listener.tag_start(name, attrs)
end

#xmlDecl(version, encoding, standalone)

[ GitHub ]

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

def xmlDecl(version, encoding, standalone)
  @listener.xmldecl(version, encoding, standalone == 1)
end