Class: RSS::REXMLLikeXMLParser

Inherits:
XML::Parser show all
Includes:
XML::Encoding_ja
Defined in:
lib/rss/xmlparser.rb

Constant Summary

Constant Summary

Constants inherited from XML::Parser

XML::Parser::Error

Instance Method Summary (collapse)

Instance Method Details

- (Object) character(data)



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

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

- (Object) endElement(name)



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

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

- (Object) listener=(listener)



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

def listener=(listener)
  @listener = listener
end

- (Object) processingInstruction(target, content)



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

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

- (Object) startElement(name, attrs)



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

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

- (Object) xmlDecl(version, encoding, standalone)



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

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