Package hudson.tasks.junit
Class XMLEntityResolver
- java.lang.Object
-
- hudson.tasks.junit.XMLEntityResolver
-
- All Implemented Interfaces:
EntityResolver
public class XMLEntityResolver extends Object implements EntityResolver
As the name suggest: a resolver for XML entities.Basically, it provides the possibility to intercept online DTD lookups and instead do offline lookup by redirecting to a local directory where .dtd's are stored (useful when parsing testng-results.xml - which points to testng.org)
- Author:
- Mikael Carneholm
-
-
Constructor Summary
Constructors Constructor Description XMLEntityResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputSource
resolveEntity(String publicId, String systemId)
Intercepts the lookup of publicId, systemId
-
-
-
Method Detail
-
resolveEntity
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
Intercepts the lookup of publicId, systemId- Specified by:
resolveEntity
in interfaceEntityResolver
- Throws:
SAXException
IOException
-
-