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