The
LexicalHandler
interface reports:
Comments
CDATA sections
Document type declaration
Entities
An optional extension that not all parsers support
To set the LexicalHandler
for a parser,
set the
"http://xml.org/sax/handlers/LexicalHandler" property.
A SAXNotRecognizedException
or SAXNotSupportedException
will be thrown if the parser
doesn't report lexical events