module LibXML::XML::SaxParser::Callbacks
Public Instance Methods
Source
# File lib/libxml/sax_callbacks.rb 8 def on_cdata_block(cdata) 9 end
Called for a CDATA block event.
Source
# File lib/libxml/sax_callbacks.rb 12 def on_characters(chars) 13 end
Called for a characters event.
Source
# File lib/libxml/sax_callbacks.rb 16 def on_comment(msg) 17 end
Called for a comment event.
Source
# File lib/libxml/sax_callbacks.rb 20 def on_end_document 21 end
Called for a end document event.
Source
# File lib/libxml/sax_callbacks.rb 24 def on_end_element_ns(name, prefix, uri) 25 end
Called for a end element event.
Source
# File lib/libxml/sax_callbacks.rb 28 def on_error(msg) 29 end
Called for parser errors.
Source
# File lib/libxml/sax_callbacks.rb 32 def on_external_subset(name, external_id, system_id) 33 end
Called for an external subset event.
Source
# File lib/libxml/sax_callbacks.rb 36 def on_has_external_subset 37 end
Called for an external subset notification event.
Source
# File lib/libxml/sax_callbacks.rb 40 def on_has_internal_subset 41 end
Called for an internal subset notification event.
Source
# File lib/libxml/sax_callbacks.rb 44 def on_internal_subset(name, external_id, system_id) 45 end
Called for an internal subset event.
Source
# File lib/libxml/sax_callbacks.rb 48 def on_is_standalone 49 end
Called for ‘is standalone’ event.
Source
# File lib/libxml/sax_callbacks.rb 52 def on_processing_instruction(target, data) 53 end
Called for an processing instruction event.
Source
# File lib/libxml/sax_callbacks.rb 56 def on_reference(name) 57 end
Called for a reference event.
Source
# File lib/libxml/sax_callbacks.rb 60 def on_start_document 61 end
Called for a start document event.
Source
# File lib/libxml/sax_callbacks.rb 64 def on_start_element_ns(name, attributes, prefix, uri, namespaces) 65 end
Called for a start element event.