Extended maintenance of Ruby versions 1.8.7 and 1.9.2 will end on July 31, 2014. Read more

In Files

  • xmlrpc/parser.rb

XMLRPC::XMLParser::XMLScanStreamParser::XMLScanParser

Constants

Entities

Public Instance Methods

method_missing(*a) click to toggle source
 
               # File xmlrpc/parser.rb, line 780
def method_missing(*a)
end
            
on_cdata(str) click to toggle source
 
               # File xmlrpc/parser.rb, line 759
def on_cdata(str)
  character(str)
end
            
on_chardata(str) click to toggle source
 
               # File xmlrpc/parser.rb, line 755
def on_chardata(str)
  character(str)
end
            
on_charref(code) click to toggle source
 
               # File xmlrpc/parser.rb, line 772
def on_charref(code)
  character(code.chr)
end
            
on_charref_hex(code) click to toggle source
 
               # File xmlrpc/parser.rb, line 776
def on_charref_hex(code)
  character(code.chr)
end
            
on_entityref(ent) click to toggle source
 
               # File xmlrpc/parser.rb, line 763
def on_entityref(ent)
  str = Entities[ent]
  if str
    character(str)
  else
    raise "unknown entity"
  end
end
            
on_stag_end(name) click to toggle source
 
               # File xmlrpc/parser.rb, line 748
def on_stag_end(name); end
            
on_stag_end_empty(name) click to toggle source
 
               # File xmlrpc/parser.rb, line 750
def on_stag_end_empty(name)
  startElement(name)
  endElement(name)
end
            
parse(str) click to toggle source
 
               # File xmlrpc/parser.rb, line 740
def parse(str)
  parser  = XMLScan::XMLParser.new(self)
  parser.parse(str)
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus