Module genxml_null

.

Copyright © 2024, Fred Youhanaie

Behaviours: gen_xml.

Authors: Fred Youhanaie (fyrlang@anydata.co.uk).

Description

The gen_xml null callback module

As the name implies, no processing is performed on the XML elements. This callback module is provided for testing and performance benchmarking.

Function Index

handle_begin/3The null callbacks.
handle_end/2The null callbacks.
handle_text/2The null callbacks.
start/1Start the processing of an XML file.

Function Details

handle_begin/3

handle_begin(Tag::atom(), Attr::term(), State::term()) -> term()

The null callbacks.

The function does nothing, it just behaves as a "compliant callback handler".

handle_end/2

handle_end(Tag::atom(), State::term()) -> term()

The null callbacks.

The function does nothing, it just behaves as a "compliant callback handler".

handle_text/2

handle_text(Text::string(), State::term()) -> term()

The null callbacks.

The function does nothing, it just behaves as a "compliant callback handler".

start/1

start(File::file:filename()) -> {ok, null}

Start the processing of an XML file.


Generated by EDoc