module XMLScan::Visitor
Public Instance Methods
on_attr_charref(code, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 126 def on_attr_charref(code, *a) 127 end
on_attr_charref_hex(code, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 129 def on_attr_charref_hex(code, *a) 130 end
on_attr_entityref(ref, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 123 def on_attr_entityref(ref, *a) 124 end
on_attr_value(str, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 120 def on_attr_value(str, *a) 121 end
on_attribute(name, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 117 def on_attribute(name, *a) 118 end
on_attribute_end(name, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 132 def on_attribute_end(name, *a) 133 end
on_cdata(str, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 93 def on_cdata(str, *a) 94 end
on_chardata(str, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 90 def on_chardata(str, *a) 91 end
on_charref(code, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 102 def on_charref(code, *a) 103 end
on_charref_hex(code, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 105 def on_charref_hex(code, *a) 106 end
on_comment(str, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 84 def on_comment(str, *a) 85 end
on_doctype(root, pubid, sysid, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 78 def on_doctype(root, pubid, sysid, *a) 79 end
on_end_document(*a)
click to toggle source
# File lib/xmlscan/visitor.rb 111 def on_end_document(*a) 112 end
on_entityref(ref, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 99 def on_entityref(ref, *a) 100 end
on_etag(name, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 96 def on_etag(name, *a) 97 end
on_pi(target, pi, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 87 def on_pi(target, pi, *a) 88 end
on_prolog_space(str, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 81 def on_prolog_space(str, *a) 82 end
on_stag(name, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 114 def on_stag(name, *a) 115 end
on_stag_end(name, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 138 def on_stag_end(name, *a) 139 end
on_stag_end_empty(name, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 135 def on_stag_end_empty(name, *a) 136 end
on_start_document(*a)
click to toggle source
# File lib/xmlscan/visitor.rb 108 def on_start_document(*a) 109 end
on_xmldecl(*a)
click to toggle source
# File lib/xmlscan/visitor.rb 57 def on_xmldecl(*a) 58 end
on_xmldecl_encoding(str, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 66 def on_xmldecl_encoding(str, *a) 67 end
on_xmldecl_end(*a)
click to toggle source
# File lib/xmlscan/visitor.rb 75 def on_xmldecl_end(*a) 76 end
on_xmldecl_key(key, str, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 60 def on_xmldecl_key(key, str, *a) 61 end
on_xmldecl_other(name, value, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 72 def on_xmldecl_other(name, value, *a) 73 end
on_xmldecl_standalone(str, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 69 def on_xmldecl_standalone(str, *a) 70 end
on_xmldecl_version(str, *a)
click to toggle source
# File lib/xmlscan/visitor.rb 63 def on_xmldecl_version(str, *a) 64 end
parse_error(msg)
click to toggle source
# File lib/xmlscan/visitor.rb 42 def parse_error(msg) 43 raise ParseError.new(msg) 44 end
valid_error(msg)
click to toggle source
# File lib/xmlscan/visitor.rb 50 def valid_error(msg) 51 raise NotValidError.new(msg) 52 end
warning(msg)
click to toggle source
# File lib/xmlscan/visitor.rb 54 def warning(msg) 55 end
wellformed_error(msg)
click to toggle source
# File lib/xmlscan/visitor.rb 46 def wellformed_error(msg) 47 raise NotWellFormedError.new(msg) 48 end