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 8 def on_cdata_block(cdata) 9 end
on_characters(chars)
click to toggle source
Called for a characters event.
# File lib/libxml/sax_callbacks.rb 12 def on_characters(chars) 13 end
on_comment(msg)
click to toggle source
Called for a comment event.
# File lib/libxml/sax_callbacks.rb 16 def on_comment(msg) 17 end
on_end_document()
click to toggle source
Called for a end document event.
# File lib/libxml/sax_callbacks.rb 20 def on_end_document 21 end
on_end_element_ns(name, prefix, uri)
click to toggle source
Called for a end element event.
# File lib/libxml/sax_callbacks.rb 24 def on_end_element_ns(name, prefix, uri) 25 end
on_error(msg)
click to toggle source
Called for parser errors.
# File lib/libxml/sax_callbacks.rb 28 def on_error(msg) 29 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 32 def on_external_subset(name, external_id, system_id) 33 end
on_has_external_subset()
click to toggle source
Called for an external subset notification event.
# File lib/libxml/sax_callbacks.rb 36 def on_has_external_subset 37 end
on_has_internal_subset()
click to toggle source
Called for an internal subset notification event.
# File lib/libxml/sax_callbacks.rb 40 def on_has_internal_subset 41 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 44 def on_internal_subset(name, external_id, system_id) 45 end
on_is_standalone()
click to toggle source
Called for ‘is standalone’ event.
# File lib/libxml/sax_callbacks.rb 48 def on_is_standalone 49 end
on_processing_instruction(target, data)
click to toggle source
Called for an processing instruction event.
# File lib/libxml/sax_callbacks.rb 52 def on_processing_instruction(target, data) 53 end
on_reference(name)
click to toggle source
Called for a reference event.
# File lib/libxml/sax_callbacks.rb 56 def on_reference(name) 57 end
on_start_document()
click to toggle source
Called for a start document event.
# File lib/libxml/sax_callbacks.rb 60 def on_start_document 61 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 64 def on_start_element_ns(name, attributes, prefix, uri, namespaces) 65 end