Class: Mullet::HTML::Parser::DefaultHandler

Inherits:
Nokogiri::XML::SAX::Document
  • Object
show all
Defined in:
lib/mullet/html/parser/default_handler.rb

Overview

SAX event handler implementation which can be subclassed.

Direct Known Subclasses

Mullet::HTML::PageBuilder, TemplateBuilder

Instance Method Summary collapse

Instance Method Details

#doctype(name, public_id, system_id) ⇒ Object

Called at a DOCTYPE declaration.



16
17
# File 'lib/mullet/html/parser/default_handler.rb', line 16

def doctype(name, public_id, system_id)
end

#processing_instruction(data) ⇒ Object

Called at a processing instruction.



23
24
# File 'lib/mullet/html/parser/default_handler.rb', line 23

def processing_instruction(data)
end