LexicalHandler interface reports:
Document type declaration
An optional extension that not all parsers support
To set the
LexicalHandler for a parser,
SAXNotRecognizedException will be thrown if the parser
doesn't report lexical events.
SAXNotSupportedException will be thrown if
you pass the wrong object type at the wrong time.