- Inheritance
- < XSD::XMLParser::Parser < Object
- Included Modules
- XMLScan::Visitor
Constants
Name | Description | |
---|---|---|
ENTITY_REF_MAP | = { 'lt' => '<', 'gt' => '>', 'amp' => '&', 'quot' => '"', 'apos' => '\'' |
Methods
Instance
Visibility | Signature |
---|---|
public | do_parse (string_or_readable) |
public | on_attr_charref (code) |
public | on_attr_charref_hex (code) |
public | on_attr_entityref (ref) |
public | on_attr_value (str) |
public | on_attribute (name) |
public | on_chardata (str) |
public | on_charref (code) |
public | on_charref_hex (code) |
public | on_entityref (ref) |
public | on_etag (name) |
public | on_stag (name) |
public | on_stag_end (name) |
public | on_stag_end_empty (name) |
public | on_xmldecl_encoding (str) |
public | on_xmldecl_version (str) |
public | parse_error (msg) |
public | scanner_kcode= (charset) |
public | valid_error (msg) |
public | warning (msg) |
public | wellformed_error (msg) |
Instance Method Detail
do_parse(string_or_readable)
on_attr_charref(code)
on_attr_charref_hex(code)
on_attr_entityref(ref)
on_attr_value(str)
on_attribute(name)
on_chardata(str)
def on_pi(target, pi); end
on_charref(code)
on_charref_hex(code)
on_entityref(ref)
on_etag(name)
def on_cdata(str); end
on_stag(name)
def on_end_document; end
on_stag_end(name)
on_stag_end_empty(name)
def on_attribute_end(name); end
on_xmldecl_encoding(str)
on_xmldecl_version(str)
def on_xmldecl; end