Class | Nokogiri::XML::SAX::PushParser |
In: |
lib/nokogiri/xml/sax/push_parser.rb
ext/nokogiri/xml_sax_push_parser.c |
Parent: | Object |
call-seq:
initialize_native(xml_sax, filename)
Initialize the push parser with xml_sax using filename
document | [RW] | The Nokogiri::XML::SAX::Document on which the PushParser will be operating |
Create a new PushParser with doc as the SAX Document, providing an optional file_name and encoding
Finish the parsing. This method is only necessary for Nokogiri::XML::SAX::Document#end_document to be called.
Write chunk to PushParser. last_chunk triggers the end_document handle
Write a chunk of XML to the PushParser. Any callback methods that can be called will be called immediately.