Nokogiri::XML::SAX::Document
# File lib/rgen/instantiator/nodebased_xml_instantiator.rb, line 61 def characters(str) @instantiator.on_chardata(str) end
# File lib/rgen/instantiator/nodebased_xml_instantiator.rb, line 57 def end_element(name) @instantiator.end_element end
# File lib/rgen/instantiator/nodebased_xml_instantiator.rb, line 49 def start_element_namespace(tag, attributes, prefix, uri, ns) ns.each{|n| @namespaces[n[0]] = n[1]} attrs = {} attributes.each{|a| attrs[a.prefix ? a.prefix+":"+a.localname : a.localname] = a.value} qname = prefix ? prefix+":"+tag : tag @instantiator.start_element(uri, qname, prefix, tag, attrs) end
Generated with the Darkfish Rdoc Generator 2.