Module: LibXML::XML::SaxParser::Callbacks

Defined in:
lib/libxml/sax_callbacks.rb

Instance Method Summary collapse

Instance Method Details

#on_cdata_block(cdata) ⇒ Object

Called for a CDATA block event.



6
7
# File 'lib/libxml/sax_callbacks.rb', line 6

def on_cdata_block(cdata)
end

#on_characters(chars) ⇒ Object

Called for a characters event.



10
11
# File 'lib/libxml/sax_callbacks.rb', line 10

def on_characters(chars)
end

#on_comment(msg) ⇒ Object

Called for a comment event.



14
15
# File 'lib/libxml/sax_callbacks.rb', line 14

def on_comment(msg)
end

#on_end_documentObject

Called for a end document event.



18
19
# File 'lib/libxml/sax_callbacks.rb', line 18

def on_end_document
end

#on_end_element_ns(name, prefix, uri) ⇒ Object

Called for a end element event.



22
23
# File 'lib/libxml/sax_callbacks.rb', line 22

def on_end_element_ns(name, prefix, uri)
end

#on_error(msg) ⇒ Object

Called for parser errors.



26
27
# File 'lib/libxml/sax_callbacks.rb', line 26

def on_error(msg)
end

#on_external_subset(name, external_id, system_id) ⇒ Object

Called for an external subset event.



30
31
# File 'lib/libxml/sax_callbacks.rb', line 30

def on_external_subset(name, external_id, system_id)
end

#on_has_external_subsetObject

Called for an external subset notification event.



34
35
# File 'lib/libxml/sax_callbacks.rb', line 34

def on_has_external_subset
end

#on_has_internal_subsetObject

Called for an internal subset notification event.



38
39
# File 'lib/libxml/sax_callbacks.rb', line 38

def on_has_internal_subset
end

#on_internal_subset(name, external_id, system_id) ⇒ Object

Called for an internal subset event.



42
43
# File 'lib/libxml/sax_callbacks.rb', line 42

def on_internal_subset(name, external_id, system_id)
end

#on_is_standaloneObject

Called for ‘is standalone’ event.



46
47
# File 'lib/libxml/sax_callbacks.rb', line 46

def on_is_standalone
end

#on_processing_instruction(target, data) ⇒ Object

Called for an processing instruction event.



50
51
# File 'lib/libxml/sax_callbacks.rb', line 50

def on_processing_instruction(target, data)
end

#on_reference(name) ⇒ Object

Called for a reference event.



54
55
# File 'lib/libxml/sax_callbacks.rb', line 54

def on_reference(name)
end

#on_start_documentObject

Called for a start document event.



58
59
# File 'lib/libxml/sax_callbacks.rb', line 58

def on_start_document
end

#on_start_element_ns(name, attributes, prefix, uri, namespaces) ⇒ Object

Called for a start element event.



62
63
# File 'lib/libxml/sax_callbacks.rb', line 62

def on_start_element_ns(name, attributes, prefix, uri, namespaces)
end