
DTDHandler
DTDHandler declares two events related to parsing the DTD:
•
notationDecl() notifies the application that a notation has been
declared.
•
unparsedEntityDecl() notifies the application that an unparsed entity
declaration has been found.
EntityResolver
✔ The EntityResolver interface defines only one event, resolveEntity(). The
method returns an InputSource, which was introduced in the section “InputSource”
on page 243.
Few applications need to implement EntityResolver because the SAX
parser can resolve filenames and most URLs already.
ErrorHandler
The ErrorHandler interface defines several events in case of errors.
Applications that handle these events ...