module MultiSAX::Callbacks

MultiSAX callbacks. MultiSAX::SAX listener should include this module.

Public Instance Methods

sax_cdata(text) click to toggle source

CDATA

# File lib/multisax.rb, line 350
def sax_cdata(text) end
sax_comment(text) click to toggle source

Comment

# File lib/multisax.rb, line 348
def sax_comment(text) end
sax_tag_end(tag) click to toggle source

End of tag

# File lib/multisax.rb, line 346
def sax_tag_end(tag) end
sax_tag_start(tag,attrs) click to toggle source

Start of tag

# File lib/multisax.rb, line 344
def sax_tag_start(tag,attrs) end
sax_text(text) click to toggle source

Text

# File lib/multisax.rb, line 352
def sax_text(text) end
sax_xmldecl(version,encoding,standalone) click to toggle source

XML declaration (not available if parser is :libxml)

# File lib/multisax.rb, line 354
def sax_xmldecl(version,encoding,standalone) end