Class RSS::REXMLLikeXMLParser
In: lib/rss/xmlparser.rb
Parent: ::XML::Parser

Methods

Included Modules

::XML::Encoding_ja

Public Instance methods

[Source]

    # File lib/rss/xmlparser.rb, line 46
46:     def character(data)
47:       @listener.text(data)
48:     end

[Source]

    # File lib/rss/xmlparser.rb, line 42
42:     def endElement(name)
43:       @listener.tag_end(name)
44:     end

[Source]

    # File lib/rss/xmlparser.rb, line 34
34:     def listener=(listener)
35:       @listener = listener
36:     end

[Source]

    # File lib/rss/xmlparser.rb, line 54
54:     def processingInstruction(target, content)
55:       @listener.instruction(target, content)
56:     end

[Source]

    # File lib/rss/xmlparser.rb, line 38
38:     def startElement(name, attrs)
39:       @listener.tag_start(name, attrs)
40:     end

[Source]

    # File lib/rss/xmlparser.rb, line 50
50:     def xmlDecl(version, encoding, standalone)
51:       @listener.xmldecl(version, encoding, standalone == 1)
52:     end

[Validate]