Class RejectingEntityResolver

  • All Implemented Interfaces:
    EntityResolver

    public class RejectingEntityResolver
    extends Object
    implements EntityResolver
    Entity resolver that handles all entity resolution requests by returning an empty input source. This is to prevent "Arbitrary DTD inclusion in XML parsing".