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