Code example for DTDHandler

Methods: notationDecl

0
    } 
 
    /*package*/ void notationDecl(String name, String publicId, String systemId) throws SAXException {
        DTDHandler dtdHandler = xmlReader.dtdHandler;
        if (dtdHandler != null) {
            dtdHandler.notationDecl(name, publicId, systemId);
        } 
    } 
 
    /*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