sax :: ContentHandler :: characters
The Parser will call this method to report each chunk of
character data. SAX parsers may return all contiguous character
data in a single chunk, or they may split it into several
chunks; however, all of the characters in any single event
must come from the same external entity so that the SAXLocator
provides useful information.
Note that some parsers will report whitespace in element
content using the ignorable_whitespace
method rather than this one (validating parsers must do so).
Parameter:
str
: characters from the XML document.SEE: ignorable_whitespace
SEE: SAXLocator
# Receive notification of character data.
#
# The Parser will call this method to report each chunk of
# character data. SAX parsers may return all contiguous character
# data in a single chunk, or they may split it into several
# chunks; however, all of the characters in any single event
# must come from the same external entity so that the `SAXLocator`
# provides useful information.
#
# Note that some parsers will report whitespace in element
# content using the `ignorable_whitespace`
# method rather than this one (validating parsers *must* do so).
#
# Parameter:
#
# * `str`: characters from the XML document.
#
# SEE: `ignorable_whitespace`
# SEE: `sax::SAXLocator`
fun characters(str: String) do end
lib/sax/content_handler.nit:224,2--243,35
redef fun characters(str) do
if content_handler != null then
content_handler.characters(str)
end
end
lib/sax/helpers/xml_filter_impl.nit:300,2--304,4
redef fun characters(str) do
log.push(["characters", str])
super
end
lib/saxophonit/testing.nit:396,2--399,4