Package hudson.tasks.junit
Class XMLEntityResolver
java.lang.Object
hudson.tasks.junit.XMLEntityResolver
- All Implemented Interfaces:
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
-
Method Summary
Modifier and TypeMethodDescriptionresolveEntity
(String publicId, String systemId) Intercepts the lookup of publicId, systemId
-
Constructor Details
-
XMLEntityResolver
public XMLEntityResolver()
-
-
Method Details
-
resolveEntity
Intercepts the lookup of publicId, systemId- Specified by:
resolveEntity
in interfaceEntityResolver
- Throws:
SAXException
IOException
-