Class XMLUtils.PathRestrictedEntityResolver

java.lang.Object
org.dspace.app.util.XMLUtils.PathRestrictedEntityResolver
All Implemented Interfaces:
EntityResolver
Enclosing class:
XMLUtils

public static class XMLUtils.PathRestrictedEntityResolver extends Object implements EntityResolver
This entity resolver accepts one or more path strings in its constructor and throws a SAXException if the entity systemID is not within the allowed path (or a subdirectory). If no parameters are passed, then this effectively disallows any external entity resolution.