Content Pipeline Guide > SAX2 Filter Interfaces > DTDHandler
  
DTDHandler
The DTDHandler interface is notified of basic DTD-related events. If a SAX filter needs information about notations and unparsed entities or just needs to pass them along, then a filter implements the DTDHandler interface. The source filter may use the instance to report notation and unparsed entity declarations to the application.
package org.xml.sax;
public interface DTDHandler {
public abstract void notationDecl
(String name, String publicId,
String systemId)
throws SAXException;
public abstract void unparsedEntityDecl
(String name, String publicId,
String systemId, String notationName)
throws SAXException;
}