# Common abstractions for SAX listeners reading XML documents generated by Doxygen.
abstract class DoxmlListener
# Common abstractions for SAX listeners reading XML documents generated by Doxygen.
abstract class DoxmlListener
protected fun dox_uri: String do return ""
redef fun start_element(uri: String, local_name: String, qname: String,
protected fun dox_uri: String do return ""
redef fun start_element(uri: String, local_name: String, qname: String,
# See `ContentHandler.start_element` for the description of the parameters.
protected fun end_dox_element(local_name: String) do end
# See `ContentHandler.start_element` for the description of the parameters.
protected fun end_dox_element(local_name: String) do end
protected fun get_bool(atts: Attributes, local_name: String): Bool do
return get_optional(atts, local_name, "no") == "yes"
end
protected fun get_bool(atts: Attributes, local_name: String): Bool do
return get_optional(atts, local_name, "no") == "yes"
end
# Temporary redirect events to itself until the end of the specified element.
fun listen_until(uri: String, local_name: String) do
# Temporary redirect events to itself until the end of the specified element.
fun listen_until(uri: String, local_name: String) do
private var sp: Bool = false
redef fun listen_until(uri: String, local_name: String) do
private var sp: Bool = false
redef fun listen_until(uri: String, local_name: String) do