class Nokogiri::XML::SAX::PushParser

def initialize(doc = XML::SAX::Document.new, file_name = nil, encoding = "UTF-8")

an optional +file_name+ and +encoding+
Create a new PushParser with +doc+ as the SAX Document, providing
##
def initialize(doc = XML::SAX::Document.new, file_name = nil, encoding = "UTF-8")
  @document = doc
  @encoding = encoding
  @sax_parser = XML::SAX::Parser.new(doc)
  ## Create our push parser context
  initialize_native(@sax_parser, file_name)
end