Class: RSS::REXMLLikeXMLParser
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::XML::Parser
|
|
Instance Chain:
self,
XML::Encoding_ja,
::XML::Parser
|
|
Inherits: |
XML::Parser
|
Defined in: | lib/rss/xmlparser.rb |
Instance Attribute Summary
- #listener=(listener) writeonly
Instance Method Summary
Instance Attribute Details
#listener=(listener) (writeonly)
[ GitHub ]# File 'lib/rss/xmlparser.rb', line 35
def listener=(listener) @listener = listener end
Instance Method Details
#character(data)
[ GitHub ]# File 'lib/rss/xmlparser.rb', line 47
def character(data) @listener.text(data) end
#endElement(name)
[ GitHub ]# File 'lib/rss/xmlparser.rb', line 43
def endElement(name) @listener.tag_end(name) end
#processingInstruction(target, content)
[ GitHub ]# File 'lib/rss/xmlparser.rb', line 55
def processingInstruction(target, content) @listener.instruction(target, content) end
#startElement(name, attrs)
[ GitHub ]# File 'lib/rss/xmlparser.rb', line 39
def startElement(name, attrs) @listener.tag_start(name, attrs) end
#xmlDecl(version, encoding, standalone)
[ GitHub ]# File 'lib/rss/xmlparser.rb', line 51
def xmlDecl(version, encoding, standalone) @listener.xmldecl(version, encoding, standalone == 1) end