Code example for DTDHandler

Methods: notationDecl

0
        /** {@inheritDoc} */ 
        @Override 
        public void notationDecl(String name, String publicId, String systemId) throws SAXException {
            // If we have an explicit DTD handler, delegate to it 
            if (dtdHandler != null) {
                dtdHandler.notationDecl(name, publicId, systemId);
            } else { 
                super.notationDecl(name, publicId, systemId);
            } 
        } 
 
        /** {@inheritDoc} */ 
        @Override 
        public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException {
            // If we have an explicit DTD handler, delegate to it 
            if (dtdHandler != null) {
                dtdHandler.unparsedEntityDecl(name, publicId, systemId, notationName);
            } else { 
                super.unparsedEntityDecl(name, publicId, systemId, notationName);
            } 
        }