Module: MultiSAX::Callbacks
- Defined in:
- lib/multisax.rb
Overview
MultiSAX callbacks. MultiSAX::SAX listener should include this module.
Instance Method Summary collapse
-
#sax_cdata(text) ⇒ Object
CDATA.
-
#sax_comment(text) ⇒ Object
Comment.
-
#sax_tag_end(tag) ⇒ Object
End of tag.
-
#sax_tag_start(tag, attrs) ⇒ Object
Start of tag.
-
#sax_text(text) ⇒ Object
Text.
-
#sax_xmldecl(version, encoding, standalone) ⇒ Object
XML declaration (not available if parser is :libxml).
Instance Method Details
#sax_cdata(text) ⇒ Object
CDATA
350 |
# File 'lib/multisax.rb', line 350 def sax_cdata(text) end |
#sax_comment(text) ⇒ Object
Comment
348 |
# File 'lib/multisax.rb', line 348 def sax_comment(text) end |
#sax_tag_end(tag) ⇒ Object
End of tag
346 |
# File 'lib/multisax.rb', line 346 def sax_tag_end(tag) end |
#sax_tag_start(tag, attrs) ⇒ Object
Start of tag
344 |
# File 'lib/multisax.rb', line 344 def sax_tag_start(tag,attrs) end |
#sax_text(text) ⇒ Object
Text
352 |
# File 'lib/multisax.rb', line 352 def sax_text(text) end |
#sax_xmldecl(version, encoding, standalone) ⇒ Object
XML declaration (not available if parser is :libxml)
354 |
# File 'lib/multisax.rb', line 354 def sax_xmldecl(version,encoding,standalone) end |