Code example for DTDHandler

Methods: unparsedEntityDecl

    /*package*/ void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException {
        DTDHandler dtdHandler = xmlReader.dtdHandler;
        if (dtdHandler != null) {
            dtdHandler.unparsedEntityDecl(name, publicId, systemId, notationName);
     * Handles an external entity. 
     * @param context to be passed back to Expat when we parse the entity 
     * @param publicId the publicId of the entity 
     * @param systemId the systemId of the entity 
    /*package*/ void handleExternalEntity(String context, String publicId,
            String systemId) throws SAXException, IOException {
        EntityResolver entityResolver = xmlReader.entityResolver;
        if (entityResolver == null) {