Class RejectingEntityDefaultHandler

  • All Implemented Interfaces:
    ContentHandler, DTDHandler, EntityResolver, ErrorHandler

    public class RejectingEntityDefaultHandler
    extends DefaultHandler
    Default handler with special entity resolver that handles all entity resolution requests by returning an empty input source. This is to prevent "Arbitrary DTD inclusion in XML parsing".