Module: XMLScan::Visitor

Instance Method Summary collapse

Instance Method Details

#on_attr_charref(code, *a) ⇒ Object



126
127
# File 'lib/xmlscan/visitor.rb', line 126

def on_attr_charref(code, *a)
end

#on_attr_charref_hex(code, *a) ⇒ Object



129
130
# File 'lib/xmlscan/visitor.rb', line 129

def on_attr_charref_hex(code, *a)
end

#on_attr_entityref(ref, *a) ⇒ Object



123
124
# File 'lib/xmlscan/visitor.rb', line 123

def on_attr_entityref(ref, *a)
end

#on_attr_value(str, *a) ⇒ Object



120
121
# File 'lib/xmlscan/visitor.rb', line 120

def on_attr_value(str, *a)
end

#on_attribute(name, *a) ⇒ Object



117
118
# File 'lib/xmlscan/visitor.rb', line 117

def on_attribute(name, *a)
end

#on_attribute_end(name, *a) ⇒ Object



132
133
# File 'lib/xmlscan/visitor.rb', line 132

def on_attribute_end(name, *a)
end

#on_cdata(str, *a) ⇒ Object



93
94
# File 'lib/xmlscan/visitor.rb', line 93

def on_cdata(str, *a)
end

#on_chardata(str, *a) ⇒ Object



90
91
# File 'lib/xmlscan/visitor.rb', line 90

def on_chardata(str, *a)
end

#on_charref(code, *a) ⇒ Object



102
103
# File 'lib/xmlscan/visitor.rb', line 102

def on_charref(code, *a)
end

#on_charref_hex(code, *a) ⇒ Object



105
106
# File 'lib/xmlscan/visitor.rb', line 105

def on_charref_hex(code, *a)
end

#on_comment(str, *a) ⇒ Object



84
85
# File 'lib/xmlscan/visitor.rb', line 84

def on_comment(str, *a)
end

#on_doctype(root, pubid, sysid, *a) ⇒ Object



78
79
# File 'lib/xmlscan/visitor.rb', line 78

def on_doctype(root, pubid, sysid, *a)
end

#on_end_document(*a) ⇒ Object



111
112
# File 'lib/xmlscan/visitor.rb', line 111

def on_end_document(*a)
end

#on_entityref(ref, *a) ⇒ Object



99
100
# File 'lib/xmlscan/visitor.rb', line 99

def on_entityref(ref, *a)
end

#on_etag(name, *a) ⇒ Object



96
97
# File 'lib/xmlscan/visitor.rb', line 96

def on_etag(name, *a)
end

#on_pi(target, pi, *a) ⇒ Object



87
88
# File 'lib/xmlscan/visitor.rb', line 87

def on_pi(target, pi, *a)
end

#on_prolog_space(str, *a) ⇒ Object



81
82
# File 'lib/xmlscan/visitor.rb', line 81

def on_prolog_space(str, *a)
end

#on_stag(name, *a) ⇒ Object



114
115
# File 'lib/xmlscan/visitor.rb', line 114

def on_stag(name, *a)
end

#on_stag_end(name, *a) ⇒ Object



138
139
# File 'lib/xmlscan/visitor.rb', line 138

def on_stag_end(name, *a)
end

#on_stag_end_empty(name, *a) ⇒ Object



135
136
# File 'lib/xmlscan/visitor.rb', line 135

def on_stag_end_empty(name, *a)
end

#on_start_document(*a) ⇒ Object



108
109
# File 'lib/xmlscan/visitor.rb', line 108

def on_start_document(*a)
end

#on_xmldecl(*a) ⇒ Object



57
58
# File 'lib/xmlscan/visitor.rb', line 57

def on_xmldecl(*a)
end

#on_xmldecl_encoding(str, *a) ⇒ Object



66
67
# File 'lib/xmlscan/visitor.rb', line 66

def on_xmldecl_encoding(str, *a)
end

#on_xmldecl_end(*a) ⇒ Object



75
76
# File 'lib/xmlscan/visitor.rb', line 75

def on_xmldecl_end(*a)
end

#on_xmldecl_key(key, str, *a) ⇒ Object



60
61
# File 'lib/xmlscan/visitor.rb', line 60

def on_xmldecl_key(key, str, *a)
end

#on_xmldecl_other(name, value, *a) ⇒ Object



72
73
# File 'lib/xmlscan/visitor.rb', line 72

def on_xmldecl_other(name, value, *a)
end

#on_xmldecl_standalone(str, *a) ⇒ Object



69
70
# File 'lib/xmlscan/visitor.rb', line 69

def on_xmldecl_standalone(str, *a)
end

#on_xmldecl_version(str, *a) ⇒ Object



63
64
# File 'lib/xmlscan/visitor.rb', line 63

def on_xmldecl_version(str, *a)
end

#parse_error(msg) ⇒ Object

Raises:



42
43
44
# File 'lib/xmlscan/visitor.rb', line 42

def parse_error(msg)
  raise ParseError.new(msg)
end

#valid_error(msg) ⇒ Object

Raises:



50
51
52
# File 'lib/xmlscan/visitor.rb', line 50

def valid_error(msg)
  raise NotValidError.new(msg)
end

#warning(msg) ⇒ Object



54
55
# File 'lib/xmlscan/visitor.rb', line 54

def warning(msg)
end

#wellformed_error(msg) ⇒ Object

Raises:



46
47
48
# File 'lib/xmlscan/visitor.rb', line 46

def wellformed_error(msg)
  raise NotWellFormedError.new(msg)
end