Applied XML Solutions

   

DTDHandler

The DTDHandler interface defines events for a minimalist processing of DTD. The two events are as follows :

  • void notationDecl(String name , String publicId,String systemId) ”Notation declaration

  • void unparsedEntityDecl(String name,String publicId,String systemId, String notationName) ”Unparsed entity declaration

Tip

For more comprehensive information on the DTD, turn to the DeclHandler interface in the org.xml.sax.ext package. However, this is a SAX2 extension and not every parser recognizes it.

   

Категории