Clients who wish to scan a DTD should implement XMLDTDScanner.EventHandler to provide the desired behavior when various DTD components are encountered.
To process the DTD, the client application should follow the following sequence:
call scanDocTypeDecl() to scan the DOCTYPE declaration
call getReadingExternalEntity() to determine if scanDocTypeDecl found an external subset
if scanning an external subset, call scanDecls(true) to process the external subset
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.