Class: Bbcode::AbstractHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/bbcode/abstract_handler.rb

Direct Known Subclasses

Handler, Parser

Instance Method Summary collapse

Instance Method Details

#continue_element(tagname) ⇒ Object



7
# File 'lib/bbcode/abstract_handler.rb', line 7

def continue_element(tagname); end

#end_element(tagname, source = nil) ⇒ Object



4
# File 'lib/bbcode/abstract_handler.rb', line 4

def end_element(tagname, source = nil); end

#interrupt_element(tagname) ⇒ Object



6
# File 'lib/bbcode/abstract_handler.rb', line 6

def interrupt_element(tagname); end

#restart_element(tagname, attributes = {}, source = nil) ⇒ Object



9
10
11
12
# File 'lib/bbcode/abstract_handler.rb', line 9

def restart_element(tagname, attributes = {}, source = nil)
	end_element tagname
	start_element tagname, attributes, source
end

#start_element(tagname, attributes = {}, source = nil) ⇒ Object



3
# File 'lib/bbcode/abstract_handler.rb', line 3

def start_element(tagname, attributes = {}, source = nil); end

#text(text) ⇒ Object



5
# File 'lib/bbcode/abstract_handler.rb', line 5

def text(text); end

#void_element(tagname, attributes = {}, source = nil) ⇒ Object



14
15
16
17
# File 'lib/bbcode/abstract_handler.rb', line 14

def void_element(tagname, attributes = {}, source = nil)
	start_element tagname, attributes, source
	end_element tagname
end